[gdal-dev] ogr2ogr: ENC to shapefile conversion
Even Rouault
even.rouault at mines-paris.org
Mon Jul 8 15:21:20 PDT 2013
Le lundi 08 juillet 2013 18:58:04, Hilda Villegas a écrit :
> Hi,
>
> Does the ogr2ogr.exe support lexical level 2 (NATF) attributes when
> converting from S-57 to shapefile?
>
> I noticed that S-57 Reader has that implementation, is there any special
> configuration in ogr2ogr to write this kind of characters?
If you use GDAL 1.10, this must be covered by the fix done in
http://trac.osgeo.org/gdal/ticket/5048 .
So try something like to generate a UTF-8 shapefile :
ogr2ogr out_shp in.000 --config OGR_S57_OPTIONS "RECODE_BY_DSSI=ON" \
-lco ENCODING=UTF-8
>
> Best regards,
> Hilda Villegas
--
Geospatial professional services
http://even.rouault.free.fr/services.html
More information about the gdal-dev
mailing list