[gdal-dev] Polygonize and 8CONNECTED

2011-03-09 Thread Francis Markham
Hi all, I was writing to enquire about the status of the "8CONNECTED=8" option in the Polygonize function of GDAL 1.8. I would expect that this option joins all pixels of equal value that are diagonally adjacent into a single polygon. However, with the following raster dataset (see http://i.imgu

Re: [gdal-dev] how to build gdal with oracle spatial

2011-03-09 Thread Peter J Halls
Natasha, I do not believe FWTools to have the Oracle driver built in, so that you may have to build it from source, having first installed the Orcale client libraries (free download from Oracle - this also includes the Oracle ODBC driver, which you will need if you want to connect to Oracle

Re: [gdal-dev] how to build gdal with oracle spatial

2011-03-09 Thread Chaitanya kumar CH
Natasha, OSGeo4W has the Oracle-10g plugin for GDAL. You can use the GDAL package from it too. On Thu, Mar 10, 2011 at 12:11 PM, natasha chatterjee < natashachatter...@rediffmail.com> wrote: > > Hi All > GDAL is new for me.i need to build GDAL with oracle spatial so that i can > use OGR2OGR for

[gdal-dev] how to build gdal with oracle spatial

2011-03-09 Thread natasha chatterjee
Hi All GDAL is new for me.i need to build GDAL with oracle spatial so that i can use OGR2OGR for further conversion of oracle spatial data to shape file. I have installed FWTools 2.4.7 and want to run the commands from FWTools shell only.Please can anyone help me out and guide me by

[gdal-dev] how to build gdal with oracle spatial

2011-03-09 Thread natasha chatterjee
Hi All GDAL is new for me.i need to build GDAL with oracle spatial so that i can use OGR2OGR for further conversion of oracle spatial data to shape file. I have installed FWTools 2.4.7 and want to run the commands from FWTools shell only.Please can anyone help me out and guide me by

[gdal-dev] how to build gdal with oracle spatial

2011-03-09 Thread natasha chatterjee
Hi All GDAL is new for me.i need to build GDAL with oracle spatial so that i can use OGR2OGR for further conversion of oracle spatial data to shape file. I have installed FWTools 2.4.7 and want to run the commands from FWTools shell only.Please can anyone help me out and guide me by

[gdal-dev] writing geoPDF

2011-03-09 Thread Livneh Yehiyam
Hi Are there plans to add write support to the geoPDF driver? If not in the near future do you know of another solution? Preferably open source? Thanks Yehiyam. Sent from my mobile ** This message (includ

Re: [gdal-dev] crop a non-square subwindow?

2011-03-09 Thread Marius Jigmond
On Wed, 2011-03-09 at 12:35 -0500, Frank Warmerdam wrote: > On 11-03-09 11:51 AM, Wendell Turner wrote: > > > > Do any of the gdal utilities crop an image on non-square > > boundaries? > > > > I use gdal_translate with -projwin ulx uly lrx lry to crop > > an image that is square (left and right

Re: [gdal-dev] GDALWarpOperation.ChunkAndWarpImage slow on large tiffs

2011-03-09 Thread Radim Blazek
Hi, yes that is the mail reporting the error. Thank you for explanation. I see that I have to reintroduce all the staff for GDALRasterIO() Radim On Wed, Mar 9, 2011 at 8:50 PM, Even Rouault wrote: > Le mercredi 09 mars 2011 19:46:26, Radim Blazek a écrit : >> Hi, >> > > Skimming qgis mailing li

Re: [gdal-dev] GDALWarpOperation.ChunkAndWarpImage on source without CRS

2011-03-09 Thread Radim Blazek
Hi, thank you a lot for your help and recommendations. The problem seems to be in GDALCreateGenImgProjTransformer2 in the block which begins on line 1072 (alg/gdaltransformer.cpp) current trunk: else if( (pszMethod == NULL || EQUAL(pszMethod,"GEOTRANSFORM")) && GDALGetGeoTransform

[gdal-dev] Re: building with PDF driver on Windows + ?

2011-03-09 Thread cpadwick
Hi, I've followed the instructions posted above but have run into a linker error. Any ideas which lib I'm missing? Thanks, Chris 2 File(s) copied cd .. if exist gdal.lib del gdal.lib lib /nologo /out:gdal.lib port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj ogr\ogrsf_frmt

Re: [gdal-dev] GDALWarpOperation.ChunkAndWarpImage slow on large tiffs

2011-03-09 Thread Even Rouault
Le mercredi 09 mars 2011 19:46:26, Radim Blazek a écrit : > Hi, > Skimming qgis mailing list, I read this http://lists.osgeo.org/pipermail/qgis- developer/2011-March/013291.html Was it the report you were refering too ? If yes, then the report gives an interesting hint. You must be aware that t

Re: [gdal-dev] Fail to build with OpenJpeg

2011-03-09 Thread Tamas Szekeres
Hi Joaquim. You can download http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1600-x64-dev.zipto obtain the libs/includes. Best regards, Tamas 2011/3/9 Joaquim Luis > On 09-03-2011 16:28, Tamas Szekeres wrote: > > I had to do the following tweaks in order to compile openjpegv2 from

Re: [gdal-dev] GDALWarpOperation.ChunkAndWarpImage slow on large tiffs

2011-03-09 Thread Even Rouault
Le mercredi 09 mars 2011 19:46:26, Radim Blazek a écrit : > Hi, > > GDALWarpOperation.ChunkAndWarpImage was reported to be extremly slow > on larger geotiff (over 1GB). Is it possible that it is much slower > with respect to GDALRasterIO() even without reprojection? Should I > return to 'manualy'

Re: [gdal-dev] GDALWarpOperation.ChunkAndWarpImage slow on large tiffs

2011-03-09 Thread Frank Warmerdam
On 11-03-09 01:46 PM, Radim Blazek wrote: Hi, GDALWarpOperation.ChunkAndWarpImage was reported to be extremly slow on larger geotiff (over 1GB). Is it possible that it is much slower with respect to GDALRasterIO() even without reprojection? Should I return to 'manualy' reading data via GDALRast

Re: [gdal-dev] GDALWarpOperation.ChunkAndWarpImage on source without CRS

2011-03-09 Thread Even Rouault
Le mercredi 09 mars 2011 12:25:47, Radim Blazek a écrit : Radim, I don't see anything obviously wrong in your code, but the warping API is admitedly quite tricky to use. The closest code in GDAL that you could take insipiration from is perhaps GDALReprojectImage() in alg/gdalwarper.cpp that does

[gdal-dev] GDALWarpOperation.ChunkAndWarpImage slow on large tiffs

2011-03-09 Thread Radim Blazek
Hi, GDALWarpOperation.ChunkAndWarpImage was reported to be extremly slow on larger geotiff (over 1GB). Is it possible that it is much slower with respect to GDALRasterIO() even without reprojection? Should I return to 'manualy' reading data via GDALRasterIO() + fidling with data extents and cells

Re: [gdal-dev] ogr2ogr vector central meridian change, vector offset issue.

2011-03-09 Thread Ilia Koen
Hello all, The same re-projection issue is not fixed by the -wrapdateline . Here is a screenshot of the issue http://dukodestudio.com/client_room/coralreefs/robinson_projection-offsetlineissue.png This is used to reproject the bluemarble. gdalwarp -s_srs EPSG:4326 -t_srs '+proj=robin +lon_

Re: [gdal-dev] crop a non-square subwindow?

2011-03-09 Thread Frank Warmerdam
On 11-03-09 11:51 AM, Wendell Turner wrote: Do any of the gdal utilities crop an image on non-square boundaries? I use gdal_translate with -projwin ulx uly lrx lry to crop an image that is square (left and right edges are vertical, and the top and bottom edges are horizontal). Is there a comma

[gdal-dev] crop a non-square subwindow?

2011-03-09 Thread Wendell Turner
Do any of the gdal utilities crop an image on non-square boundaries? I use gdal_translate with -projwin ulx uly lrx lry to crop an image that is square (left and right edges are vertical, and the top and bottom edges are horizontal). Is there a command that will crop other shapes, for instance a

Re: [gdal-dev] Fail to build with OpenJpeg

2011-03-09 Thread Joaquim Luis
On 09-03-2011 16:28, Tamas Szekeres wrote: I had to do the following tweaks in order to compile openjpegv2 from SVN. Index: CMakeLists.txt === --- CMakeLists.txt(revision 660) +++ CMakeLists.txt(working copy) @@ -50,6 +50,7

[gdal-dev] Geocentric Coordinate System Support

2011-03-09 Thread Frank Warmerdam
Folks, Yesterday I introduced Geocentric coordinate system support in GDAL/OGR. This includes OGRSpatialReference support for geocentric coordinate systems, the ability to looking them up from EPSG, and the ability to translate them to/from PROJ.4 format so they can be used for transformation.

Re: [gdal-dev] Fail to build with OpenJpeg

2011-03-09 Thread Tamas Szekeres
I had to do the following tweaks in order to compile openjpegv2 from SVN. Index: CMakeLists.txt === --- CMakeLists.txt(revision 660) +++ CMakeLists.txt(working copy) @@ -50,6 +50,7 @@ IF(WIN32) IF(BUILD_SHARED_LIBS) A

Re: [gdal-dev] Fail to build with OpenJpeg

2011-03-09 Thread Joaquim Luis
On 09-03-2011 02:59, Angelos Tzotsos wrote: Hi Joaquim, In order to build with OpenJpeg, you must use the unreleased version 2.0 of OpenJpeg. Try the following: http://code.google.com/p/openjpeg/downloads/detail?name=openjpeg_v2_alpha_0.zip Thanks Angelos, but with this version I'm not eve

[gdal-dev] GDALWarpOperation.ChunkAndWarpImage on source without CRS

2011-03-09 Thread Radim Blazek
Hi, I am using GDALWarpOperation.ChunkAndWarpImage to read data, everything works well except when a source dataset does not have a CRS defined. Then it crashes with #0 GDALGenImgProjTransform (pTransformArg=0x0, bDstToSrc=1, nPointCount=84, padfX=0xa1093f0, padfY=0xa109690, padfZ=0xa109930,

[gdal-dev] GDAL-processing center

2011-03-09 Thread Sigbjorn Herstad
Hi! I would like some feedback on creating a GDAL-processing center. What I want to achieve is the following: - 1 server running a webserver with GDAL and "everything" installed on it. This can be accessed by other machines through a local network with for instance http://LOCALIP/GDALPROCESSING.