Converting DXF to GeoJSON with ogr2ogr

المشرف العام

Administrator
طاقم الإدارة
I'm trying to convert my DXF to GeoJSON with ogr2ogr, but I can't get it to include blocks.

ogr2ogr -f "GeoJSON" "/Desktop/test2.geojson" "/Desktop\drawing.dxf" -sql "SELECT * FROM entities" -overwriteWhen I open the file in autocad it goes as follows

Layer:0Layer:layername1...Layer:layernameNBlock:name1Block:name2...Block:nameN

Everything until the first block is included into the GeoJSON, but blocks are not. Any idea how can I include these? (Blocks have Layer:layername as its childrens)



أكثر...
 
أعلى