Re: [gdal-dev] Draft GDAL/OGR class hierarchy for GDAL 2.0

2014-03-28 Thread Mateusz Łoskot
On 28 March 2014 21:04, Tim Keitt wrote: > Something to consider is writing an interface that wraps the old code. > Modern generic approaches make this easy. > > Perhaps evaluate the Generic Image Library and Boost Geometry as candidates? GDAL is I/O oriented, whereas in GIL and BG, I/O layer is

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Even Rouault
Le vendredi 28 mars 2014 17:27:23, Vincent Mora a écrit : > On 28/03/2014 16:13, Kyle Shannon wrote: > > On Fri, Mar 28, 2014 at 8:14 AM, Vincent Mora wrote: > >> On 28/03/2014 10:06, Even Rouault wrote: > A good plan! Especially when including the Walk driver > >> > >> And the WAsP driver

Re: [gdal-dev] Draft GDAL/OGR class hierarchy for GDAL 2.0

2014-03-28 Thread Tim Keitt
Something to consider is writing an interface that wraps the old code. Modern generic approaches make this easy. Perhaps evaluate the Generic Image Library and Boost Geometry as candidates? THK On Fri, Mar 28, 2014 at 3:24 AM, Even Rouault wrote: > Dmitriy, > > It is not at all my intention to

[gdal-dev] ogr2ogr doesn't handle logical (boolean) MapInfo tab fields correctly

2014-03-28 Thread jonbritton3
Hi, I'm trying to use ogr2ogr to load a MapInfo tab file into a PostgreSQL database using the following command: However, this produces the following error The problem field is a Logical field in the source file (with values of T or F). The actual value of the "crimeOccured" field in the fir

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread Etienne Tourigny
I admit I did not look too much into your application. In fact, it would be great to add a reference to it (and other software that uses GDAL) somewhere in the wiki, perhaps the FAQ page? Perhaps a few of the tools could be added to the utilities or the functionality be integrated into existing u

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread kempenep
Hi, pktools is licensed under GPL v3. To my understanding, code from pktools can therefore be used GDAL. I'm not sure what this means for the resulting code? I'm sure we can work it out. All code is in C++, which should facilitate this (templates are used though). I am happy to contribute to GDAL

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Vincent Mora
On 28/03/2014 16:13, Kyle Shannon wrote: On Fri, Mar 28, 2014 at 8:14 AM, Vincent Mora wrote: On 28/03/2014 10:06, Even Rouault wrote: A good plan! Especially when including the Walk driver And the WAsP driver ? Vincent, The trunk will be 1.11.0, the WAsP driver will be included. Shall I

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Kyle Shannon
On Fri, Mar 28, 2014 at 8:14 AM, Vincent Mora wrote: > On 28/03/2014 10:06, Even Rouault wrote: >>> >>> A good plan! Especially when including the Walk driver > > And the WAsP driver ? > > > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http:/

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > Any opinion about that plan ? +1 -Jukka Rahkonen- ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Translating grid data to GML 3.2

2014-03-28 Thread peifer
Hi All, I am looking for a way to translate grid data to GML, i.e. do something like: gdal_translate -of gml infile.nc outfile.gml The expected result would be something similar to [1], which is a snippet from a related OGC document [2]. I know that this translation isn't supported by GDAL at th

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread Etienne Tourigny
I've just heard of this project - any reason (aside from licencing issues) that it could not be added to gdal/ogr itself? It would be cool for gdal 2.0... cheers Etienne On Fri, Mar 28, 2014 at 6:49 AM, kempenep wrote: > Hi Jonathan, > > If I understand your question correctly, I might sugges

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Vincent Mora
On 28/03/2014 10:06, Even Rouault wrote: A good plan! Especially when including the Walk driver And the WAsP driver ? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Tamas Szekeres
Hi, Adding VS2012/VS2013 support in GISInternals is a separate action (not included in the release plan). In fact I'm not keen to add further build instances to the current build server installation which has a pretty limited set of resources. However I've got a promise to have a new VM on a blad

Re: [gdal-dev] Open WMS datasets with GDAL Java

2014-03-28 Thread Fabio Rinnone
Il 28/03/2014 11:54, Even Rouault ha scritto: > Does gdal.GetDriverByName("WMS") return a non null pointer ? It returns an org.gdal.gdal.Driver object. I think this is correctly, right? >> Il 27/03/2014 20:09, Etienne Tourigny ha scritto: >>> Have you tried running in debug mode (CPL_DEBUG=ON)? >

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Daniel Morissette
+1 Daniel On 14-03-25 5:37 PM, Even Rouault wrote: Hi, GDAL 1.10 was released about one year ago, so it is time to think about the next release. I think we should just call it 1.11 given that there are no major architectural changes (although there have been non trivial changes in RAT manageme

Re: [gdal-dev] Open WMS datasets with GDAL Java

2014-03-28 Thread Even Rouault
Does gdal.GetDriverByName("WMS") return a non null pointer ? > Il 27/03/2014 20:09, Etienne Tourigny ha scritto: > > Have you tried running in debug mode (CPL_DEBUG=ON)? > > Can I do this? I have added the following: > > gdal.SetConfigOption("CPL_DEBUG", "ON"); > > before calling of gdal.AllRegist

Re: [gdal-dev] Open WMS datasets with GDAL Java

2014-03-28 Thread Fabio Rinnone
Il 27/03/2014 20:09, Etienne Tourigny ha scritto: > Have you tried running in debug mode (CPL_DEBUG=ON)? Can I do this? I have added the following: gdal.SetConfigOption("CPL_DEBUG", "ON"); before calling of gdal.AllRegister() but does not seem to appear new log messages in standard error when I

Re: [gdal-dev] Add a new performance hint for Spatialite

2014-03-28 Thread Even Rouault
Ah, got it. I read your message too fast. I've added your suggestions with a simplified version of your below example in http://trac.osgeo.org/gdal/changeset/27104 Another solution for your use case would be to make a OGR VRT with a OGRVRTUnionLayer that reference every GML file and convert the VR

Re: [gdal-dev] "Syncing" two rasters together...

2014-03-28 Thread kempenep
Hi Jonathan, If I understand your question correctly, I might suggest an open source tool (GPL v3) for this job: pkcrop. It is part of pktools (http://pktools.nongnu.org), which is based on the GDAL API. By combining pkcrop with pkinfo (also in pktools), you could get what you want in a quite oper

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Even Rouault
> A good plan! Especially when including the Walk driver > > I have a minor fix on ogr sqlite driver. Please refer to ticket #5426: > http://trac.osgeo.org/gdal/ticket/5426 > > Please check if it can be included in the release. Done. Thanks > > Thanks, > > Xian > Walkinfo Technology Corp., Ltd. >

Re: [gdal-dev] Add a new performance hint for Spatialite

2014-03-28 Thread Rahkonen Jukka (Tike)
Hi, Sorry, I must have not emphasized enough that hint is only valid for appending data with subsequent ogr2ogr commands ogr2ogr -f sqlite -dsco spatialite=yes mtk_tos.sqlite -dim 2 -lco spatial_index=no /vsizip/e:\mtk_tos\etrs89\gml\K32.zip tieviiva -gt 65536 ogr2ogr -f sqlite -append mtk_tos

Re: [gdal-dev] Add a new performance hint for Spatialite

2014-03-28 Thread Even Rouault
Jukka, I'm very surprised that you need to do that explicitely, since the driver should already do that by default. This is something we discovered last year or the year before when you were experimenting OSM -> Spatialite conversions. Since OGR 1.10, the spatial index is created when the datasour

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Xian Chen
A good plan! Especially when including the Walk driver I have a minor fix on ogr sqlite driver. Please refer to ticket #5426: http://trac.osgeo.org/gdal/ticket/5426 Please check if it can be included in the release. Thanks, Xian Walkinfo Technology Corp., Ltd. mailto:chenx...@walkinfo.com.cn

Re: [gdal-dev] Draft GDAL/OGR class hierarchy for GDAL 2.0

2014-03-28 Thread Even Rouault
Dmitriy, It is not at all my intention to have a big-bang for GDAL 2.0. According to the ohloh estimation ( http://www.ohloh.net/p/gdal/estimated_cost ), the cumulated development to make GDAL as it is currently would represent a 265 person-years effort. I do think it is overestimated (they also i

[gdal-dev] Add a new performance hint for Spatialite

2014-03-28 Thread Jukka Rahkonen
Hi, I took timings about adding 115 GML files (548 MB together, 3.2 million linestrings) into a Spatialite table. With default settings the table gets initialized with spatial index which makes following inserts slower. Another alternative is to create the table without spatial index, append all t