Re: [gdal-dev] WFS - OGRLayer GetNextFeature - fails

2012-05-14 Thread Oyvind Idland
There is another problem with the in OGR when dealing with WFS 1.1.0: The wfs namespace is missing. The current implementation sends http://www.opengis.net/gml";> but should be http://www.opengis.net/wfs"; xmlns:gml=" http://www.opengis.net/gml";> Since I am using an XML serializer to decode

Re: [gdal-dev] WFS - OGRLayer GetNextFeature - fails

2012-05-14 Thread Even Rouault
> > Then we ran into another problem, when we used OGRLayer. > SetSpatialFilterRect() Our server received a filter which is deprecated in > version 1.1.0. , so that we now need to be backwards compatible with > version 1.0.0, or so the guy making our server says. I'll get some more > detailed info

Re: [gdal-dev] Re: python SetCacheMax, GetCacheMax

2012-05-14 Thread Even Rouault
Le lundi 14 mai 2012 19:16:25, Matt Gregory a écrit : > On 5/11/2012 4:55 PM, Gregory, Matthew wrote: > > Hi all, > > > > Probably a newbie question. I'm trying to investigate some read rates without the benefit of caching from Python. When I do this: > >from osgeo import gdal > >gdal.S

Re: [gdal-dev] Backport Ingres plugin

2012-05-14 Thread Etienne Tourigny
you probably have to modify configure and possibly some makefiles also. On Mon, May 14, 2012 at 2:14 PM, Tyler Mitchell wrote: > Hi all, just looking for a tip on backporting the OGR Ingres plugin from 1.9 > to 1.8.  Anything in particular that comes to mind to watch for?  I'm naive > enough to

[gdal-dev] Re: python SetCacheMax, GetCacheMax

2012-05-14 Thread Matt Gregory
On 5/11/2012 4:55 PM, Gregory, Matthew wrote: Hi all, Probably a newbie question. I'm trying to investigate some read rates without the benefit of caching from Python. When I do this: from osgeo import gdal gdal.SetCacheMax(0) print gdal.GetCacheMax() I always get the environment v

[gdal-dev] Backport Ingres plugin

2012-05-14 Thread Tyler Mitchell
Hi all, just looking for a tip on backporting the OGR Ingres plugin from 1.9 to 1.8. Anything in particular that comes to mind to watch for? I'm naive enough to try to just copy latest 1.9 or trunk versions of the ingres plugin in - but it's not building Ingres support in for some reason. No

[gdal-dev] Re: Scale dependent VRT for overviews

2012-05-14 Thread Jukka Rahkonen
Hi, I am not sure if it is already possible to do what I want with .VRT file but I just do not know how. Therefore I prepared a test set if someone happens to be interested in having a look. Zip file is at http://latuviitta.org/documents/scale_dependent_gdal_meta_vrt.zip The package contains: -

[gdal-dev] Re: gdal with CMake?

2012-05-14 Thread NDavid
Hi all I've just read the cmake/gdal wiki, the new documentation of the cmake object library and the last "cmake for gdal" discussion from october 2011 and I'm not sure to fully understood why the cmake object library is needed for gdal cmake build. So, I'm wondering if there is some technical d

Re: [gdal-dev] WFS - OGRLayer GetNextFeature - fails

2012-05-14 Thread hamidi
hi i've a question about format of LAYERDEFINITIONFILE.LDF file and the meaning of entries in this file. i don't know from where and how can i ask this. can anyone help? On Mon, May 14, 2012 at 10:42 AM, Odd Ragnar Lydersen < odd-ragnar.lyder...@powel.no> wrote: > Yes, the server is accessible to

Re: [gdal-dev] writing a subregion with GDALRasterIO

2012-05-14 Thread Joaquim Luis
On 13-05-2012 20:28, Even Rouault wrote: Le mardi 08 mai 2012 15:52:11, Joaquim Luis a écrit : Hi, I am having some troubles in writing a sub-region on an array with GDALRasterIO. The story is this. GMT internal grid arrays have a padding of 2 rows and 2 columns around the 'true data region' t

Re: [gdal-dev] Updating a single PostgreSQL field from ogr/python

2012-05-14 Thread Luca Sigfrido Percich
Martin, you're updating existing features so you don't want to use the CreateFeature method. If you try to re-insert an existing feature you will get the duplicate pk error. See the docs for the SetFeature method. Moreover, your loop code is a bit confused; usually you would do: while True: