[gdal-dev] GDAL C# Bindings: How to implement callback

2020-05-08 Thread rmaddu
Dear All, I have called below GDAL function with callback, not getting the call to callback function? var newDs = Gdal.wrapper_GDALVectorTranslateDestName(output, ds, gdalOptions, new Gdal.GDALProgressFuncDelegate(ProgressFunc), null); public static int ProgressFunc(double Complete, IntPtr Mess

[gdal-dev] GDAL C# bindings, read from /vsimem/

2018-07-12 Thread Atle Frenvik Sveen
Hi list, first time poster here. I'm using the GDAL C# bindings in .net core via the Gdal.Core Nuget package (https://www.nuget.org/packages/Gdal.Core/) Everyting seems to work fine, apart from the fact that I have to touch the file system in order to get my created GeoTiff as a memory stream

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-25 Thread ChiefDan
Jukka, I've not done anything useful with routing either, so I'm sure once I solve my issue, I'll immediately realize a simpler way to do it. Your segmenting the lines has given me an idea that is similar: Add the points into the linestrings. I think if I do this I can then more easily create line

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-25 Thread Jukka Rahkonen
ChiefDan gmail.com> writes: > > Jukka, > > THanks for the suggestions. THe green points are the decision points, so I > need to use those in my pathing. For instance, I would choose one of those > points and then choose another green point as the destination to get the > route(s). I have not r

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-25 Thread ChiefDan
Jukka, THanks for the suggestions. THe green points are the decision points, so I need to use those in my pathing. For instance, I would choose one of those points and then choose another green point as the destination to get the route(s). -- View this message in context: http://osgeo-org.1560

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-25 Thread Jukka Rahkonen
ChiefDan gmail.com> writes: > > Jukka Rahkonen wrote > > Hi, > > > > Could you make a drawing about what you have and what you want to get? > > > > If your aim is to cut long linestrings only where they intersect with > > points > > from the point layer I believe that it is not easy with plain

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread ChiefDan
Jukka Rahkonen wrote > Hi, > > Could you make a drawing about what you have and what you want to get? > > If your aim is to cut long linestrings only where they intersect with > points > from the point layer I believe that it is not easy with plain GDAL. There > are some useful functions in the S

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread ChiefDan
Matt Hanson-2 wrote > So you've got a series of points in your point layer, and a series of > lines > in your line layer, and for each point on your points layer, you want to > find out which line this falls on. --I'm able to do this already. Matt Hanson-2 wrote > Is that right? It sounds like

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread Jukka Rahkonen
ChiefDan gmail.com> writes: > > Matt, > > I've got a line layer and a points layer. The points layer fall on the line > layer, however they are not end points on the line layer, for the most part. > > I'm not sure if that answers your question or not. Hi, Could you make a drawing about what

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread Matt Hanson
Want to make sure I understand this properly. So you've got a series of points in your point layer, and a series of lines in your line layer, and for each point on your points layer, you want to find out which line this falls on. Is that right? It sounds like you've done this part. However, I'm

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread ChiefDan
Matt, I've got a line layer and a points layer. The points layer fall on the line layer, however they are not end points on the line layer, for the most part. I'm not sure if that answers your question or not. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-cre

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread Matt Hanson
ChiefDan, If I understand the problem correctly... If you get the OGRGeometry of your line string (get the WKT from that or somehow turn into an array or list that is easy to work with) you will have all the points in order along the line. Then, you'll need to find your initial point of interest

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-24 Thread ChiefDan
Yes, I've experimented with that library and actually asked a follow up question here about it. To properly use it, I need to prepare the layer in the manner I am asking about. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-create-new-line-segments-from-point-la

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-23 Thread Jukka Rahkonen
ChiefDan gmail.com> writes: > > I am trying to create a pathfinding graph from a shapefile with a line layer > and point layer. Hi, Have you already studied http://trac.osgeo.org/gdal/wiki/rfc48_geographical_networks_support? -Jukka Rahkonen- ___

Re: [gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-23 Thread ChiefDan
Would GEOS be a more appropriate library to use? GDAL was my goto due to familiarity. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-create-new-line-segments-from-point-layer-tp5195061p5195070.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

[gdal-dev] GDAL C++ Api, create new line segments from point layer

2015-03-23 Thread ChiefDan
I am trying to create a pathfinding graph from a shapefile with a line layer and point layer. Using the C++ API, for each point in the points layer, I need to find the next N points that are connected to that point along one or more OGRLineStrings. I've been able to determine which OGRLineString

Re: [gdal-dev] GDAL C# bindings - using rasterlite and spatialite in the same database

2014-02-27 Thread Even Rouault
Le jeudi 27 février 2014 21:39:52, Marcel Gangwisch a écrit : > Dear Even, > > thank you for your answer! I think I know the real problem now. > Respectively Sandro (I think a developer of rasterlite) gave me the > correct hint. > (https://groups.google.com/forum/?hl=de#!topic/spatialite-users/g8b

Re: [gdal-dev] GDAL C# bindings - using rasterlite and spatialite in the same database

2014-02-27 Thread Marcel Gangwisch
Dear Even, thank you for your answer! I think I know the real problem now. Respectively Sandro (I think a developer of rasterlite) gave me the correct hint. (https://groups.google.com/forum/?hl=de#!topic/spatialite-users/g8b3va_zteg

Re: [gdal-dev] GDAL C# bindings - using rasterlite and spatialite in the same database

2014-02-27 Thread Even Rouault
Le mardi 25 février 2014 18:12:55, Marcel Gangwisch a écrit : > Hi *, > > I use the following command: > > rasterliteDriver.CreateCopy("RASTERLITE:GeoDatabase.db,TABLE=raster_test", > source, 1, options, null, null); > > to read every gdal raster in my rasterlite database. After reading I'm > al

[gdal-dev] GDAL C# bindings - using rasterlite and spatialite in the same database

2014-02-25 Thread Marcel Gangwisch
Hi *, I use the following command: rasterliteDriver.CreateCopy("RASTERLITE:GeoDatabase.db,TABLE=raster_test", source, 1, options, null, null); to read every gdal raster in my rasterlite database. After reading I'm also able to read another raster of vector file into the sqlite database. Eve

Re: [gdal-dev] GDAL C# bindings using rasterlite

2014-02-24 Thread Even Rouault
Le lundi 24 février 2014 09:35:42, Marcel Gangwisch a écrit : > Hi *, > > currently I'm using SQLite + Spatialite + GDAL to manage vector data. > I know it is also possible to use SQLite also with raster data. > Therefore I have to translate all GDAL input data to > sqlite as rasterlite. > > Does

[gdal-dev] GDAL C# bindings using rasterlite

2014-02-24 Thread Marcel Gangwisch
Hi *, currently I'm using SQLite + Spatialite + GDAL to manage vector data. I know it is also possible to use SQLite also with raster data. Therefore I have to translate all GDAL input data to sqlite as rasterlite. Does anybody know how to do that, with the help of the GDAL C# bindings? - Hav

[gdal-dev] Gdal C# Async Read

2012-12-06 Thread netcadturgay
Is there any solution for reading a file with multi-thread access? Also every thread will read a different area. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Gdal-C-Async-Read-tp5021363.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

[gdal-dev] gdal + C#

2012-09-06 Thread Neelima Emmani
Hi Chaitanya & All, In my GDAL1.9 version, I have a swig folder. And according to the below link http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpCompile#Compilingthecode It says, that i need to download swigwin-1.3.31 package. My question is do i need to overwrite the existing swig folder with this d

Re: [gdal-dev] gdal + C#

2012-09-05 Thread Chaitanya kumar CH
waiting reply. > With Regards, > Neelima Emmani > GIS Developer > -- > *From:* Chaitanya kumar CH [chaitanya...@gmail.com] > *Sent:* Thursday, September 06, 2012 10:31 AM > *To:* Neelima Emmani > *Cc:* gdal-dev@lists.osgeo.org > *Subject:* Re: [gdal-

Re: [gdal-dev] gdal + C#

2012-09-05 Thread Chaitanya kumar CH
Neelima, Please go through the documentation in the website. http://trac.osgeo.org/gdal/wiki/GdalOgrInCsharp On Thu, Sep 6, 2012 at 10:31 AM, Neelima Emmani < neelima.emm...@iictechnologies.com> wrote: > Hi All, > > Actually i want to access gespatial data using GDAL into C#. For this I > tried

[gdal-dev] gdal + C#

2012-09-05 Thread Neelima Emmani
Hi All, Actually i want to access gespatial data using GDAL into C#. For this I tried to add gdal reference to C#. I took gdal1.9 download from gdal website. Inwhich i found gdai19.dll . And then tried to add this as a reference to c# . But unfortunately, C# is popping me up with an error msg.

[gdal-dev] GDAL/C++ Cut out and possibly reproject a sub-image

2012-04-15 Thread tseval
Hi folks, I am programming an application where I want to produce small tiles in a given projection from a lot of input image files. The input files may be different projections and resolutions. I have read the API tutorials and looked through the GDAL documentation, and searched this mailing li

Re: 答复: [gdal-dev] GDAL C# interface

2009-11-13 Thread Tamas Szekeres
e one I will to use, HDF4 format is not included. Is > there any ideas or good suggestions? > > Thanks a lot > > Yanbo > > -邮件原件- > 发件人: Tamas Szekeres [mailto:szeker...@gmail.com] > 发送时间: 2009年11月13日 23:11 > 收件人: yanb...@cma.gov.cn > 抄送: gdal-dev@lists.

答复: [gdal-dev] GDAL C# interface

2009-11-13 Thread yanbohe
-邮件原件- 发件人: Tamas Szekeres [mailto:szeker...@gmail.com] 发送时间: 2009年11月13日 23:11 收件人: yanb...@cma.gov.cn 抄送: gdal-dev@lists.osgeo.org 主题: Re: [gdal-dev] GDAL C# interface Hi, You could try one of the packages available from here for example: http://vbkto.dyndns.org/sdk/ Best regards, Tamas

Re: [gdal-dev] GDAL C# interface

2009-11-13 Thread Tamas Szekeres
Hi, You could try one of the packages available from here for example: http://vbkto.dyndns.org/sdk/ Best regards, Tamas 2009/11/13 : > Dear All, > > > > Who have GDAL binary DLL libs for C#? I download the source code and did not > successes to compile them for C# interface. > > > > > > > > _

[gdal-dev] GDAL C# interface

2009-11-13 Thread yanbohe
Dear All, Who have GDAL binary DLL libs for C#? I download the source code and did not successes to compile them for C# interface. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev