Re: [gdal-dev] WFS paging - STARTINDEX should start at 0 not 1

2013-01-02 Thread Jeremy Palmer
ok thanks Even. - Original Message - From: Even Rouault To: "gdal-dev@lists.osgeo.org" Cc: Jeremy Palmer , Robert Coup , Hamish Campbell Sent: 03/01/2013 7:58 PM Subject: Re: [gdal-dev] WFS paging - STARTINDEX should start at 0 not 1 Le jeudi 03 janvier 2013 04:23:36, Jeremy Palmer

Re: [gdal-dev] WFS paging - STARTINDEX should start at 0 not 1

2013-01-02 Thread Even Rouault
Le jeudi 03 janvier 2013 04:23:36, Jeremy Palmer a écrit : > Hi, > > When using OGR WFS driver and paging support the first feature is missed > when I query a Geoserver 2.1.X WFS 1.1.0 service. This is because OGR > assumes the WFS STARTINDEX parameter is 1-based. > > However it now seems that th

[gdal-dev] How does ogr2ogr -spat work?

2013-01-02 Thread Brett Walker
Hi List, I have a technical question regarding the workings of 'ogr2ogr -spat' >From the description regarding this option is: -spat xmin ymin xmax ymax: spatial query extents. Only features whose geometry intersects the extents will be selected. The geometries will not be clipped unless -clips

[gdal-dev] WFS paging - STARTINDEX should start at 0 not 1

2013-01-02 Thread Jeremy Palmer
Hi, When using OGR WFS driver and paging support the first feature is missed when I query a Geoserver 2.1.X WFS 1.1.0 service. This is because OGR assumes the WFS STARTINDEX parameter is 1-based. However it now seems that the OGC standard of STARTINDEX has been clarified zero-based. This was c

Re: [gdal-dev] FW: point within polygon c++ API problem

2013-01-02 Thread Ran, Limei
Hello Frank, I think the fragmentation is caused by how the program is compiled. I did a test using the attached test code with point within polygon function. I appreciate if you can suggest how to compile it correctly with static option. When I compiled it in the following way, it worked: >

Re: [gdal-dev] Need help in writing aux.xml (pam) using cpp

2013-01-02 Thread Christian Rapp
Am 02.01.2013 15:45, schrieb Even Rouault: > Selon Christian Rapp : > >> Hello altogether and happy new year, >> >> >> I just started using the GDAL c++ interface. I want to create float32 >> based GEoTiffs. This works quite well but in ArcMap they don't look that >> good because Statistics are mis

Re: [gdal-dev] VirtualOGR with Sqlite

2013-01-02 Thread Martin Jensen
Thanks, Even! The WFS server I was requesting was also a Geoserver like the OpenGEO. I will ask the Geoserver user list on how to enable streaming. /Martin On 1 January 2013 23:39, Even Rouault wrote: > > > 2) My http debugger showed that a getfeature request was sent to the WFS > > without

Re: [gdal-dev] gdalinfo and ogrinfo file formats

2013-01-02 Thread Paul Meems
Thanks Even, I'll have a look at your suggestions. BTW for MapWindow we don't use the GDAL C# API. >From our C#/Winforms we 'talk' to our MapWinGIS wich is a C++ ActiveX control. MapWinGIS does the communication with GDAL. This is much faster and more stable than using C# bindings. Thanks, Pa

Re: [gdal-dev] Need help in writing aux.xml (pam) using cpp

2013-01-02 Thread Even Rouault
Selon Christian Rapp : > Hello altogether and happy new year, > > > I just started using the GDAL c++ interface. I want to create float32 > based GEoTiffs. This works quite well but in ArcMap they don't look that > good because Statistics are missing. > > So first of all I called GetStatistics() M

Re: [gdal-dev] gdalinfo and ogrinfo file formats

2013-01-02 Thread Even Rouault
Selon Paul Meems : > Hi Even, > > I'm not sure why I shouldn't use --format. If I can't use it why is it > provided? > Can I use --formats? My message was that the output format of gdalinfo is primarly for humans, not to be fed into other software. Well, this is my vision. You can do whatever you

Re: [gdal-dev] gdalinfo and ogrinfo file formats

2013-01-02 Thread Paul Meems
Hi Even, I'm not sure why I shouldn't use --format. If I can't use it why is it provided? Can I use --formats? Perhaps I should not handle this in my C#/WinForms but do this in our C++ core. I think we can make a method that would return what I need based on gcore/gdal_misc.cpp but that would rely

[gdal-dev] Need help in writing aux.xml (pam) using cpp

2013-01-02 Thread Christian Rapp
Hello altogether and happy new year, I just started using the GDAL c++ interface. I want to create float32 based GEoTiffs. This works quite well but in ArcMap they don't look that good because Statistics are missing. So first of all I called GetStatistics() Method from a Standard GDALDataset. Th

Re: [gdal-dev] gdalinfo and ogrinfo file formats

2013-01-02 Thread Even Rouault
> We're now in the progress of creating C#/WinForms tools on top of these > functionality to be used in MapWindow. We are going to use *gdalinfo > --formats* and *gdalinfo --format the_format *to get the relevant data we > need to create for example a file open box. This works fine since the > ext

[gdal-dev] gdalinfo and ogrinfo file formats

2013-01-02 Thread Paul Meems
Hi all, First I wish everybody a happy 2013! With MapWindow GIS we're using gdal and ogr and we are now in the process of include the functionality of the utility programs, like gdalinfo.exe, ogrinfo.exe, gdal_translate.exe, ogr2ogr.exe, etc. This functionality is added to our core C++ base call