OSGeo – GDAL/OGR import BGT/IMGeo (continuation)

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.

As Proof of Concept II, the download of the BGT and BRK/DKK from the PDOK website has been implemented. Based on a project polygon, a location filter is created and sent to PDOK as a spatial query. The result is downloaded (as a ZIP-file) and extracted into the project folder and then imported into AutoCAD.

More information?
Ask the cadgis-consultant.

OSGeo – GDAL/OGR import BGT/IMGeo

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.

The import of the BGT/IMGeo is implemented as a Proof of Concept. Processed to NLCS-layers based on the features. At a later stage this can always be further broken down based on multiple properties. By keeping the fill and outline separated from each other, a simple Layer-command can be used to turn the fill off and switch to a line map. The software creates a set of Layer Filters for this purpose.


More information?
Ask the cadgis-consultant.

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.