I've already read in this link that is not possibile to use QGIS or other GIS application API (GRASS, ArcGIS) without rebuild all libraries into my custom code. First I would like to know if that corresponds to the truth or if there is a way to integrate these APIs without the whole application. What I would like to do is to convert a DXF file into a GeoJSON and use it for my application. A possibile workaround is install the server version of QGIS somewhere (I'm considering to add it to my application's docker container) and create a Python application that can leverage QGIS API previously installed.

Is there any other library for this type of conversion?

  • Your link path is corrupt (pasted text, not URL). – Vince Mar 7 at 11:08
  • Yon don't need QGIS, GRASS GIS or ArcGIS, for that, simply use the Python geospatial modules (OGR, Fiona, GeoPandas, ...) – gene Mar 7 at 12:25
  • Thanks for the reply; you man this kind of api? geopandas.org/io.html?highlight=geojson ?PS: sorry for the link i'll try to find it again. Could i assume that the library could also provide srs system information and provide system reference conversion to obtain a correct information that can i overlap to a map (for example google map or open street map)? – David Mar 7 at 13:22
  • is there any kind of tutorial that explains how to programmatically georeference a non-georeferenced dxf file? – David Mar 8 at 8:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.