They seem to import fine into GRASS, and vectors have clean and informative attribute tables.
Hi Luigi,
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?
Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson@manchester.ac.uk
On Sun, Jan 17, 2010 at 5:12 PM, John A Stevenson
<john.stevenson@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]
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]
I am. I apt-get purged the version of gdal-bin from the repositories and compiled a nice new gdal 1.6.3 from source. It works now.
It's a really nice dataset. Just having country outlines to use as a mask is an excellent result.
Cheers
John
--
Dr John Stevenson
Postdoctoral Research Associate
School of Earth, Atmospheric and Environmental Sciences
Williamson Building (Room 2.42)
University of Manchester
Manchester M13 9PL, UK
tel. +44(0)161 306 6585; fax. +44(0)161 306 9361;
john.stevenson@manchester.ac.uk