I'd suggest with the documentation. https://trac.osgeo.org/gdal/wiki/GdalOgrInCsharp
An example is shown at https://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALRead.cs for reading and at https://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps/GDALWrite.cs for writing out. The C# bindings are closely tied to the underlying C/C++ implementation. You can use the documentation for the equivalent methods. Even in C/C++, you'll need to do quite a lot of reading of STDI-0002 if you need anything but the most basic TREs. If your needs are simple, maybe you'd be better off calling out to a command line utility instead. Then you can decouple the conversion from your C# code. Brad -----Original Message----- From: gdal-dev <[email protected]> On Behalf Of RejectKid Sent: Thursday, 7 May 2020 11:47 PM To: [email protected] Subject: Re: [gdal-dev] New to Gdal and NITF It's hard to say what ive tried as I don't even know where to start really. I was expecting something like "new Nitf()" or "Nitf.Create()" style api and I'm not seeing those. I'm guessing I'm supposed to do something with the Gdal.Open() method but I dont know what I'd actually pass in there. is the utf8_path a file path? and what file formats does that read in? or is there a way to read in bytes of an image? as you can tell im kinda lost on how to even start reading anything in using the GDAL nuget. so any help/getting started would be great -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
