OSGeo – GDAL/OGR in vdPClassify and vdPCADdesign

GDAL is a C++ translator library for more than 200 raster and vector geospatial data formats. It offers an API for a variety of languages such as C, C++, Python, Perl, C# and Java.

vdPConsulting has investigated whether and how this GDAL/OGR functionality can be implemented in a C# plugin in AutoCAD.

In vdPCADdesign, it is now possible to export CADdesign-objects to GML, GeoJSON, GeoPackage and ESRI Shape files. For reading from the same files, CADdesign-objects are expected to write them as objects in the drawing.

Also in vdPClassify it is now possible to export Classify-objects to GML, GeoJSON, GeoPackage and ESRI Shape files. For reading in from the same files, generic functions have been implemented in the vdPClassify-toolkit that read in the points, lines and polygons and create them as generic AutoCAD Points, Polylines and Closed Polylines in the drawing.

More information?
Ask the cadgis-consultant.

OSGeo – GDAL/OGR

GDAL is a C++ translator library for more than 200 raster and vector geospatial data formats. It offers an API for a variety of languages such as C, C++, Python, Perl, C# and Java.

In the Visual Studio development environment it is possible to download NuGet packages. These are open source development libraries you can simply add to your .NET project.

A number of NuGet packages are available for GDAL. In addition to the complete GDAL environment, so-called .NET wrappers are installed with which C# functions in the underlying GDAL C++ DLLs can be called.

vdPConsulting is currently investigating the possibilities to implement GDAL/OGR functionality in a C# plugin in AutoCAD to export data to and import from GML, GeoJSON, GeoPackage and ESRI Shape files.