Skip to main content
Developer's user avatar
Developer's user avatar
Developer's user avatar
Developer
  • Member for 13 years, 2 months
  • Last seen more than 6 years ago
  • Earth, TX
asked
Loading…
comment
Export Shapely objects to DXF file
BTW is there any pre-compiled for windows (Python 2.72) release of Fiona?
comment
Export Shapely objects to DXF file
@om_henners Unfortunately only DXF and GDS files are importable!
comment
Export Shapely objects to DXF file
However DXF file may have some issues since I could not open it by different software such as LibreCAD, SketchUp etc.
comment
Export Shapely objects to DXF file
Thanks for introducing Fiona and also thanks for your interesting package Shapely. You are surely doing good job.
comment
Export Shapely objects to DXF file
and I also had to replace () with [] in the produced GeoJSON file to bypass another error caused using ogr2ogr.exe. Those may be changes in software or I'm missing something obvious! Anyway, with these two tricks it produced a DXF file successfully.
comment
Export Shapely objects to DXF file
Just to mention in execution of the provided code an error come up: "write requires string/buffer". So I changed it as: write(str(mapping(buffer_obj))) and it is OK now. I use Python 2.72 BTW.
awarded
accepted
comment
Export Shapely objects to DXF file
Thanks a lot. You gave many ideas which are very useful. I would like to try OGR through Python. This a good answer.
awarded
awarded
asked
Loading…
1
9 10 11 12
13