[GRASS-user] Importing ESRI Shapefile might cause attribute data corruption

Martin Landa landa.martin at gmail.com
Mon Feb 18 09:22:55 PST 2013


Hi,

2013/2/15 Maris Nartiss <maris.gis at gmail.com>:
> JFYI
> GRASS is also hit hard by recent GDAL/OGR ESRI Shapefile encoding
> saga. Importing ESRI Shapefile with non-latin text most likely will
> corrupt Your text.

take a look on new parameter 'encoding' in `v.in.ogr` [1]. This could help.

...
v.in.ogr dsn=/home/user/shape_data/test_shape.shp output=grass_map
encoding=cp1250
...

Martin

[1] http://grass.osgeo.org/grass70/manuals/v.in.ogr.html

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list