[GRASS-user] Natural Earth: public domain GIS datasets

Markus Neteler neteler at osgeo.org
Sun Jan 17 17:27:10 EST 2010


On Sun, Jan 17, 2010 at 5:12 PM, John A Stevenson
<john.stevenson at manchester.ac.uk> wrote:
> Luigi Ponti wrote:
...
> There is a lot of nice data on there.  I've had some trouble trying to
> import the vector data, however.  I keep getting a buffer-overflow with
> v.in.ogr (see below).  It happens with 6.4.0RC5, and with 6.5.svn.  How did
> you import them?

Are you on Ubuntu?

> GRASS 6.4.0RC5
> (global):~/laptop/GIS_datasets/Natural_Earth_GIS_data_10m/physical >
> v.in.ogr ../cultural/10m-populated-places.shp out=cities
> Projection of input dataset and current location appear to match
> Layer: 10m-populated-places
> Importing map 6599 features...
> *** buffer overflow detected ***: v.in.ogr terminated
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7057ed8]
> /lib/tls/i686/cmov/libc.so.6[0xb7056f10]
> /lib/tls/i686/cmov/libc.so.6[0xb7056869]
> /lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0xb7056754]
> /usr/lib/libgdal1.5.0.so.1(_ZN10OGRFeature16GetFieldAsStringEi+0x34e)[0xb74eb3be]
> /usr/lib/libgdal1.5.0.so.1(OGR_F_GetFieldAsString+0x28)[0xb74ec1c8]
> v.in.ogr(main+0x21e8)[0x804d9d8]
> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb6f8db56]
> v.in.ogr[0x804aab1]

Does ogrinfo work on the data set?
It looks a bike like
 https://bugs.launchpad.net/ubuntu/+source/libgdal-grass/+bug/308158
 http://trac.osgeo.org/grass/ticket/402
to me.

Markus


More information about the grass-user mailing list