[gdal-dev] DXF ogr_style
Rahkonen Jukka
jukka.rahkonen at maanmittauslaitos.fi
Fri Feb 14 04:58:15 PST 2025
Hi,
Use SQL and select the special OGR_STYLE field as a normal attribute. An example, tested with https://github.com/OSGeo/gdal/blob/master/autotest/ogr/data/dxf/assorted.dxf
ogr2ogr -f geojson -sql "select *, ogr_style as ogr_style from entities" out.json assorted.dxf
-Jukka Rahkonen-
Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Michal Kowalczuk via gdal-dev
Lähetetty: perjantai 14. helmikuuta 2025 13.33
Vastaanottaja: gdal dev <gdal-dev at lists.osgeo.org>
Aihe: [gdal-dev] DXF ogr_style
Dear GDAL devs,
how can I force GDAL to generate ogr_style field when opening DXF dataset?
Somewhere on the GitHub I read that this is a special field and it may be hidden... but how to make it visible?
Regards,
Michał Kowalczuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250214/2b31d3ae/attachment-0001.htm>
More information about the gdal-dev
mailing list