Re: [gdal-dev] style from GeoJSON to DXF

2025-04-24 Thread Chris Toney via gdal-dev
Hi Javier, I don't know much about DXF, but if you had a GeoJSON file named styled_points.geojson with ("style" just an arbitrary field name): { "type": "FeatureCollection", "name": "styled_points", "features": [ { "type": "Feature", "properties": { "style": "PEN(c:#00ff00)" }, "geometry": { "type

[gdal-dev] style from GeoJSON to DXF

2025-04-24 Thread Javier Jimenez Shaw via gdal-dev
Hi I am trying to convert a GeoJSON to DXF with ogr2ogr. I have control over the GeoJSON: I can add whatever I want to the "properties", like "color: '#00ff00'" How can I make that color appear in the DXF? I know there are the OGR styles like PEN(c:#00ff00) (I can write that into the GeoJSON) but