[gdal-dev] How to convert shapefile to geojson, using c# binding?

2019-01-09 Thread Gigas002
Hello. Does anybody know, if there's a way to convert shapefile to geojson using c# bindings? I know about ogr2ogr.exe, but I'd still prefer bindings if it's possible. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-de

Re: [gdal-dev] How to use Gdal c# bindings with .NET Core

2018-12-15 Thread Gigas002
Thanks! That worked for me. But of course anyone would prefer official release, so... Is .net core bindings planned? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lis

[gdal-dev] How to use Gdal c# bindings with .NET Core

2018-12-15 Thread Gigas002
Hello everyone. I'm trying to use c# bindings with .NET Core 2.0 on Visual Studio 2017. Tried to use multiple nuget packages: 1. https://www.nuget.org/packages/GDAL/ + https://www.nuget.org/packages/GDAL.Native/ I used these packages for my .NET Framework project and it worked fine, but it doesn't

Re: [gdal-dev] How to Use Gdal in Microsoft Visual Studio C++

2018-11-23 Thread Gigas002
Athin wrote > If possible can you share with some guide how to use the gdal nuget and > how > can i view the map on wpf not on console? Sure. You should right-click on "References" in your open project in VS and choose "Manage nuget packages". Then search for "GDAL.NET" and install it. Necessary r

[gdal-dev] Dataset's ReadRaster/WriteRaster throws exception on c#

2018-11-12 Thread Gigas002
Hi all. I've rewritten some python code from gdal2tiles.py on c#, using GDAL.NET nuget package (ver. 2.3.1). Here you can see the working python code: def create_overview_tiles(input_file, output_file): tile_driver = 'PNG' tile_size = 256 tilebands = 4 resampling =

Re: [gdal-dev] How to Use Gdal in Microsoft Visual Studio C++

2018-11-08 Thread Gigas002
Hi Athin, Not exactly an answer to your question, but there is a good nuget package for using in c#, called GDAL.NET: https://www.nuget.org/packages/GDAL.NET/ It contains bindings, automatically added to your project after build gdal's binary files and GdalConfiguration class that will automaticall