[Qgis-user] Re: [GRASS-user] Problem importing/viewing a ~160MB shapefile
Hamish
hamish_b at yahoo.com
Sat Nov 29 19:01:33 PST 2008
Nikos wrote:
> While QGIS (unstable, revision 9711) can open and report GRASS' region
> setting for a lat-long location and load/view the above mentioned
> "coastline" dataset (both the shapefile and the GRASS vector, the one
> after v.in.ogr -c and NOT after v.clean!!), GRASS reports the error:
>
> g.region -p
> ERROR: default region is invalid
> line 4: <south: 90:22:00.17015S>
latitude > 90deg can not exist.
fix it in line 4 of $LOCATION/PERMANENT/DEFAULT_WIND or from within the
PERMANENT mapset run "g.region -s" to set the current (valid) region
to be the default one.
WRT large shapefiles: your buffer overflow/segfault probably has little
to do with the size of the file. Others regularly load much bigger
shapefiles into/out of grass. Large file errors typically start to show
themselves around the 2GB mark. You need to run a GDB backtrack to see
the cause.
the "florida coastline" problem (processing huge single polyline
boundaries) does not result in the program breaking. it is just an
inefficient method which takes a very very long time. It will not result
in a buffer overflow or a segfault. That is something different.
How about "v.in.ogr spatial=" ?
Hamish
More information about the Qgis-user
mailing list