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

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

2018-11-23 Thread Athin
Hi Gigas002, 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? -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo

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

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

2018-11-07 Thread Athin
Hai Tamas, May i know what the package for GDAL at nuget.org (GDAL, GDAL.Native and GDAL.Plugins) cover? It can fully C# or i still need ti use C++ then make extension to C# so that it can use VS Wpf. Thank you and best regards. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742

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

2018-11-07 Thread Tamas Szekeres
Packages for GDAL have also been submitted to nuget.org (GDAL, GDAL.Native and GDAL.Plugins) which could be referenced in your Visual Studio project easily. Best regards, Tamas Ivan Lucena ezt írta (időpont: 2018. nov. 7., Sze, 14:44): > Hi Athin, > > Here it goes again: > > https://github.c

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

2018-11-07 Thread Ivan Lucena
Hi Athin, Here it goes again: https://github.com/OSGeo/gdal/tree/master/gdal/swig/csharp/apps For more information on GDAL's C# API: https://trac.osgeo.org/gdal/wiki/GdalOgrInCsharp Regards, Ivan On 11/6/18, 8:34 PM, "gdal-dev on behalf of Athin" wrote: Hai Ivan, May i know

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

2018-11-06 Thread Athin
Hai Ivan, May i know the function of the swig(c#) that you share to me? Thank you and best regards -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/ma

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

2018-11-02 Thread Ivan Lucena
Hi Athin, I think we have some problem with the GDAL tutorials. The first example in C and C++ have the same error as your code, pszFilename is not initialized [https://www.gdal.org/gdal_tutorial.html]. It is not supposed to be a full source code sample, but anyway... Yeah I will take the

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

2018-11-01 Thread bradh
Sent: Friday, 2 November 2018 11:44 AM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] How to Use Gdal in Microsoft Visual Studio C++ Hai Bradh, Sorry I not use to C++, I only familiar with C#. I need to use C++ because Gdal support it and i need to combine it to the Visual Studio C#

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

2018-11-01 Thread Athin
Hai Ivan, Yeah I will take the C++ tutorials/exercise. But I need to try a bit the Gdal capability. I just want to try it first hand by follow the tutorial, but it seem there is not many example that allow to see the running of complete code. Did you have any GDAL sample that can share with me? T

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

2018-11-01 Thread Athin
Hai Bradh, Sorry I not use to C++, I only familiar with C#. I need to use C++ because Gdal support it and i need to combine it to the Visual Studio C# (Wpf). Thank you and best regards. -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html ___

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

2018-11-01 Thread bradh
ssage- From: gdal-dev On Behalf Of Athin Sent: Thursday, 1 November 2018 8:32 PM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] How to Use Gdal in Microsoft Visual Studio C++ Hai All, My target just know want to try to display raster map, but i still stuck in this starting point. The c

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

2018-11-01 Thread Ivan Lucena
Athin, If this is your target, GDAL might not be the right choice for you. My target just know want to try to display raster map, but i still stuck in this starting point. The code I run below will display an error The GDAL API doesn't support display capabilities. If you go ahead an

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

2018-11-01 Thread Athin
Hai All, My target just know want to try to display raster map, but i still stuck in this starting point. The code I run below will display an error error c4700 uninitialized local variable 'pszFilename' used can someone help me regarding this and what i need to with the file i download from th

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

2018-10-31 Thread Athin
Hi all, Thank for the reply. I think I don't need to start from scratch for gdal. I can just add the binaries to visual studio right? but may i know how to install the GDALALLRegister(), from the tutorial it need to be called at the first of the code. Thank you and best regards -- Sent from:

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

2018-10-31 Thread Ivan Lucena
Hi Athin, Just to complement what Mateusz wrote, the project files generated automatically are not a *real* Visual Studio C++ project that you can change parameters on the project's property dialogbox. The generated project is what Microsoft calls a Makefile project. It is just a shell around t

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

2018-10-31 Thread Mateusz Loskot
On Wed, 31 Oct 2018 at 02:41, Athin wrote: > > I am still new in this GIS subject. May someone guide me how can i use gdal > on Visual Studio 2012 c++. In order to build and use current GDAL, you need Visual Studio 2015 or later. GDAL requires C++11 compiler https://trac.osgeo.org/gdal/wiki/rfc68

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

2018-10-30 Thread Athin
Hai All, I am still new in this GIS subject. May someone guide me how can i use gdal on Visual Studio 2012 c++. I try to follow from the website Gdal.org but i dont understand about it. How to generating visual studio project? How to generate_vcxproj.bat? I try and the solution fail when i open on