[gdal-dev] Re: Performance of reading large polygons with holes

2012-04-22 Thread Jukka Rahkonen
Rahkonen Jukka mmmtike.fi> writes: > Thus it is 4 seconds vs. 32 seconds measured by Martin. It is a considerable difference but perhaps Martin is > not doing exactly the same thing. Anyway, speed of OGR seems to be excellent. I am acting as a man-in-a-middle and Martin writes now as follows:

Re: [gdal-dev] Re: Performance of reading large polygons with holes

2012-04-22 Thread Even Rouault
Le dimanche 22 avril 2012 10:53:22, Jukka Rahkonen a écrit : > Rahkonen Jukka mmmtike.fi> writes: > > Thus it is 4 seconds vs. 32 seconds measured by Martin. It is a > > considerable > > difference but perhaps Martin is > > > not doing exactly the same thing. Anyway, speed of OGR seems to be >

[gdal-dev] geoTiff to tiles

2012-04-22 Thread len lee
I am working with 2gb large geotiff image.I need convert the large geoTiff to tiles (about 250x250 pixels) with c++ language; i dont wanna read the whole geotiff file since it is gonna be real slow .. i want to get the tiles according to geographic position and i am not sure exactly how to do it

Re: [gdal-dev] Re: Performance of reading large polygons with holes

2012-04-22 Thread Even Rouault
> Hi, > > Ok, this is interesting for several reasons : > > 1) Trying to run the 'ogrinfo -sql "select max(OGR_GEOM_AREA) from tpi_1" > tpi_1.shp' showed that a badly written optimization in OGR 1.9.0 broke such > a query. Now fixed per http://trac.osgeo.org/gdal/ticket/4633 > > 2) Width GDAL tr

[gdal-dev] Request to Visual Studio 2008+ users

2012-04-22 Thread Mateusz Loskot
Folks, I'm looking for a but of assistance from GDAL hackers who use Visual Studio 2008 or later. I'd be thankful if someone could conduct the following test for me against the current GDAL trunk: 0) Grab sources from GDAL from SVN trunk or *clean* the sources tree thoroughly, so cpl_config.h as

[gdal-dev] Re: Request to Visual Studio 2008+ users

2012-04-22 Thread Mateusz Loskot
On 22 April 2012 13:19, Mateusz Loskot wrote: > > 3) nmake /f makefile.vc MSVC_VER= DEBUG-1 Correction, s/-/=/ so the command reads nmake /f makefile.vc MSVC_VER= DEBUG=1 Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev

Re: [gdal-dev] Proposing json-c update to pre-0.10

2012-04-22 Thread Even Rouault
Le dimanche 22 avril 2012 02:03:06, Mateusz Loskot a écrit : > Folks, > > Currently, GDAL uses json-c 0.9 (with some GDAL-specific fixes). > The json-c development has progressed and numerous bugs has been fixed. > > I wonder if I could update to json-c from its current Git master which > states

Re: [gdal-dev] Re: Request to Visual Studio 2008+ users

2012-04-22 Thread Even Rouault
Le dimanche 22 avril 2012 14:20:50, Mateusz Loskot a écrit : > On 22 April 2012 13:19, Mateusz Loskot wrote: > > 3) nmake /f makefile.vc MSVC_VER= DEBUG-1 > > Correction, s/-/=/ so the command reads > > nmake /f makefile.vc MSVC_VER= DEBUG=1 I just did your scenario with VS 2008 Express

Re: [gdal-dev] Re: Request to Visual Studio 2008+ users

2012-04-22 Thread Mateusz Loskot
On 22 April 2012 14:19, Even Rouault wrote: > Le dimanche 22 avril 2012 14:20:50, Mateusz Loskot a écrit : >> On 22 April 2012 13:19, Mateusz Loskot wrote: >> > 3) nmake /f makefile.vc MSVC_VER= DEBUG-1 >> >> Correction, s/-/=/ so the command reads >> >> nmake /f makefile.vc MSVC_VER= DEB

Re: [gdal-dev] Request to Visual Studio 2008+ users

2012-04-22 Thread Alexander Bruy
Hi, just finished compiling using your instructions and it compiles fine 2012/4/22 Mateusz Loskot : > Folks, > > I'm looking for a but of assistance from GDAL hackers > who use Visual Studio 2008 or later. > I'd be thankful if someone could conduct the following test for me > against the current

Re: [gdal-dev] Request to Visual Studio 2008+ users

2012-04-22 Thread Mateusz Loskot
On 22 April 2012 14:24, Alexander Bruy wrote: > Hi, > > just finished compiling using your instructions and it compiles fine Would you mine sharing details of Visual Studio version you use? Thanks! Best regards, -- Mateusz Loskot, http://mateusz.loskot.net __

Re: [gdal-dev] Re: Request to Visual Studio 2008+ users

2012-04-22 Thread Even Rouault
Le dimanche 22 avril 2012 15:23:41, Mateusz Loskot a écrit : > On 22 April 2012 14:19, Even Rouault wrote: > > Le dimanche 22 avril 2012 14:20:50, Mateusz Loskot a écrit : > >> On 22 April 2012 13:19, Mateusz Loskot wrote: > >> > 3) nmake /f makefile.vc MSVC_VER= DEBUG-1 > >> > >> Correction

Re: [gdal-dev] Request to Visual Studio 2008+ users

2012-04-22 Thread Alexander Bruy
2012/4/22 Mateusz Loskot : > On 22 April 2012 14:24, Alexander Bruy wrote: >> Hi, >> >> just finished compiling using your instructions and it compiles fine > > Would you mine sharing details of Visual Studio version you use? I use Microsoft Visual Studio 2008 Version 9.0.30729.1 SP (Express Editi

[gdal-dev] Re: geoTiff to tiles

2012-04-22 Thread Jukka Rahkonen
len lee gmail.com> writes: > > I am working with 2gb large geotiff image.I need convert the large geoTiff to tiles (about 250x250 pixels) with c++ language;i dont wanna read the whole geotiff file since it is gonna be real slow .. i want to get the tiles according to geographic position and i a

[gdal-dev] ... Usage in vrt files.

2012-04-22 Thread ajuvolkov
Hello. I can't find any information about the using mask bands in virtual datasets of Gdal (*.vrt files). I wan't to mask region in my source dataset. For example, I have the Earth map in Plate Carree projection. Map resolution is 1000x500 pixels. I want to define a valid area inside the rectangle