[GRASS5] [bug #4190] (grass) Could not import a NB Double Stereographic shapefile - used EPSG #2036

Hamish hamish_nospam at yahoo.com
Mon Mar 20 20:29:58 EST 2006


> this bug's URL: http://intevation.de/rt/webrt?serial_num=4190
> ---------------------------------------------------------------------
> 
> Subject: Could not import a NB Double Stereographic shapefile - used
> EPSG #2036
> 
> Platform: GNU/Linux/x86
> grass obtained from: Trento Italy site
> grass binary for platform: Downloaded precompiled Binaries
> GRASS Version: Grass 6.1cvs 18-03-2006
> 
> I downloaded this shapefile: 
> 
> https://www.web11.snb.ca/topo/aadb/shape/nbaa_5000_ranb.zip
> 
> The shapefile is in New Brunswick Double Stereographic,  NAD83 CSRS98
> (Canadian Spatial Reference System 1998)
> 
> This shapefile comes from a municipal government site, so is highly
> likely that the shapefile is in the projection is says it is. Or at
> least it's not suspect at this point.
> 
> Reading the .prj file shows that the projection is indeed New
> Brunswick Double Stereographic. I created a new Location using EPSG
> code #2036, which seemed to match the shapefile's projection
> parameter-for-parameter. Imported shapefile into Location using:
> 
> v.in.ogr dsn=shapefile_directory output=nbaa_5000_ranb
> layer=nbaa_5000_ranb
> 
> and received a seg fault, with no other error information. Importing
> the shapefile using the 'location' parameter in v.in.ogr also gives a
> seg fault, with no feedback.


what happens if you try looking at it with 'ogrinfo' ?

also, maybe quicker for you, the above can just be:
v.in.ogr dsn=directory/file.shp out=map  # and no layer=



Hamish




More information about the grass-dev mailing list