[Gdal-dev] Re: Gdal-dev Digest, Vol 30, Issue 54

Markus Neteler neteler at itc.it
Sat Nov 25 05:31:09 EST 2006


On Wed, Nov 22, 2006 at 07:47:30PM +0100, Stephan Holl wrote:
> Hello Markus,
> 
> On Wed, 22 Nov 2006 12:01:16 -0500 gdal-dev-request at lists.maptools.org
> wrote:
> 
> > 2. Switching LOCALE:
> > 
> > GRASS 6.3.cvs (eu_laea):~/data/vmap0_europe_shape > export
> > LANGUAGE=en_US GRASS 6.3.cvs (eu_laea):~/data/vmap0_europe_shape >
> > export LANG=en_US GRASS 6.3.cvs (eu_laea):~/data/vmap0_europe_shape >
> > export LC_ALL=en_US 
> 
> Have your tried just to export LC_NUMERIC=C and import afterwards?
> 
> I *could* imagine that this might break something about the decimal
> delimiter?!

Hi Stephan,

I tried:

export LC_NUMERIC=C
v.in.ogr europe_countries_LAEA.shp out=europe_countries --o
WARNUNG: Die Vektorkarte 'europe_countries' existiert bereits und wird
         überschrieben
...
WARNUNG: Spaltenname 'cat' wurde in 'cat_' geändert.
Importiere 3356 Objekte der Karte...
Speicherzugriffsfehler


Does not help... but using
export LC_ALL=C
it works (which was not needed before my operating system update).

At least I have a 1 line workaround :-)

Markus
 



More information about the Gdal-dev mailing list