TransWikia.com

Create Esri File GDB from DataTable .Net Core?

Geographic Information Systems Asked on July 14, 2021

I have data stored in a database in PostgreSQL created and handled via EF with dbContext in .Net Core. I need to export some tables into FileGDB using opensource libraries (I don’t want to restrict users to use ESRI licence). Ideally, I would like to do it programmatically, without a need of having extra dependencies eg. storing/calling ogr2ogr.exe via cmd.

Things I tried:

  1. NetTopologySuite.IO.GDB – I saw that NetTopologySuite have some support for GDB, but when I tried to access it, it seems like is missing for .Net Core.

    var test = new NetTopologySuite.IO.GDB();
    enter image description here

  2. Esri.ArcGISRuntime – it seems like this SDK is missing create functionality. You can only read existing GDB from path or portal, but I need to create a new one.

  3. file-geodatabase-api – It looks like is for .NetFramework only, I am not sure if it’s supported in .Net Core 3.1. There is no NuGet package available and I couldn’t find a good example or documentation of how I can use it.

Is there any opensource support for .Net Core DataTable and ESRI Geodatabase?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP