Details Ticket 4123


Comment | Reply | Take | Open


Serial Number 4123
Subject v.in.ogr PROJ recognition bug
Area grass6
Queue grass
Requestors holl@gdf-hannover.de,neteler@itc.it
Owner none
Status resolved
Last User Contact Thu Aug 3 20:45:58 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Aug 3 20:45:58 2006 (2 yr ago)
Created Tue Feb 28 23:51:19 2006 (2 yr ago)

Transaction History Ticket 4123


Tue, Feb 28 2006 23:51:19    Request created by mneteler  
Subject: v.in.ogr PROJ recognition bug

> Hi,
> 
> I tried to import the sample soils map from
> PostGIS (1.1.x, on PG 8.0.x):
> 
> ogrinfo "PG:host=localhost dbname=postgis" soils | head -25
> INFO: Open of `PG:host=localhost dbname=postgis'
> using driver `PostgreSQL' successful.
> 
> Layer name: soils
> Geometry: Polygon
> Feature Count: 737
> Extent: (589443.750000, 4913923.000000) - (609546.187500,
> 4928106.000000) Layer SRS WKT:
> PROJCS["UTM Zone 13, Northern Hemisphere",
>     GEOGCS["clark66",
>         DATUM["North_American_Datum_1927",
>             SPHEROID["clark66",6378206.4,294.9786982]],
>         PRIMEM["Greenwich",0],
>         UNIT["degree",0.0174532925199433]],
>     PROJECTION["Transverse_Mercator"],
>     PARAMETER["latitude_of_origin",0],
>     PARAMETER["central_meridian",-105],
>     PARAMETER["scale_factor",0.9996],
>     PARAMETER["false_easting",500000],
>     PARAMETER["false_northing",0],
>     UNIT["meter",1]]
> FID Column = ogc_fid
> Geometry Column = wkb_geometry
> cat: Integer (0.0)
> label: String (0.0)
> 
> 
> But GRASS tells me:
> v.in.ogr dsn="PG:host=localhost dbname=postgis" layer=soils
> output=soils_pg type=boundary,centroid ERROR: Projection of dataset
> does not appear to match current location.
> 
>        LOCATION PROJ_INFO is:
>        name: UTM
>        datum: nad27
>        nadgrids: conus
>        proj: utm
>        ellps: clark66
>        a: 6378206.4000000004
>        es: 0.0067686580
>        f: 294.9786982000
>        zone: 13
> 
>        cellhd.proj = 0 (unreferenced/unknown)
> 
>        You can use the -o flag to v.in.ogr to override this check.
>        Consider to generate a new location with 'location' parameter
> from input data set.
> 
> 
> It seems that there are still definition issues with PROJ.
> 
> any ideas?

I have found the opposite behaviour. I can import any dataset with
different proj-information inside the spearfish60-location...

Something is messed up there.

Could anybody have a look into this?

Best
	Stephan
Tue, Feb 28 2006 23:51:55    User changed to holl@gdf-hannover.de,neteler@itc.it by mneteler  
Thu, Aug 3 2006 20:42:23    Mail sent by sholl  
Thu, Aug 3 2006 20:45:58    Status changed to resolved by sholl  
Thu, Aug 3 2006 20:45:58    Mail sent by sholl  
Hi all

this one was solved by Paul in may 2006. 

Details can be read in this thread
http://grass.itc.it/pipermail/grass-dev/2006-May/022947.html

Closing the bug, since I cannot reproduce it.

Stephan
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request