[GRASS-user] importing shapefiles - segfault

Tyler Smith tyler.smith at mail.mcgill.ca
Thu Feb 8 17:21:18 EST 2007


Hi,

I'm trying to import some ESRI shapefiles, but I can't get it to work
properly.

This is what I did:

GRASS 6.0.2 (ESRI_World):~ > v.in.ogr dsn=/home/tyler/esri_data/usa/
output=ESRI_states layer=states min_area=0.0001 snap=-1
location=ESRI_USA3 
A datum name nad83 (North_American_Datum_1983) was specified without
transformation parameters.

Now select Datum Transformation Parameters
<snip>
---
6       Used in Default nad83 region
        (PROJ.4 Params towgs84=0.000,0.000,0.000)
        Default 3-Parameter Transformation
---

Now select Datum Transformation Parameters
Enter 'list' to see the list of available Parameter sets
Enter the corresponding number, or <RETURN> to cancel request
>6
Layer: states
WARNING: Default driver / database set to:
         driver: dbf
         database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
Segmentation fault
GRASS 6.0.2 (ESRI_World):~ >

I used the same command to setup a new location with ESRI world data.

The .prj file for the USA data is:

GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",
SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],
UNIT["Degree",0.0174532925199433]]

I tried some googling, but couldn't make sense of the results. I've
been using the data in ARCView without problem, and just copied the
entire data directory from a Windows box to a GNU/linux box, so I
think all the relevant files are there.

Thanks for any suggestions!

-- 
Regards,

Tyler Smith




More information about the grass-user mailing list