[gdal-dev] How to export STYLE from Mapinfo to Shapefile?

Eduardo Kanegae eduardo.kanegae at gmail.com
Wed Jan 25 04:56:25 EST 2012


hi there,

I need to read mapinfo data from a file but:
* when opening the mapinfo file using QGIS only ID field is displayed
within attributes table
* the attribute I need is set at STYLE property at mapinfo file

The result of an ogrinfo line dump is:
 OGRFeature(TESTE_NUMERACAO):1536
   ID (Integer) = 244106
   *Style* = LABEL(t:"335",a:295.100000,s:2.759527g,c:#000000,p:1,f:"Arial")
   POINT (288636.59898806165 7465166.827180054)

I need Style->Label->t value to be converted to a shapefile column (335 value).

Is there any parameter to use with ogr2ogr to export this value?

thanks in advance

Eduardo Patto Kanegae
http://www.webmapit.com | @webmapit


More information about the gdal-dev mailing list