Re: [gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Jukka Rahkonen
Jeremy Palmer linz.govt.nz> writes: > > So could it be a http streaming issue? Actually the error that is reported in your debug log file has happened also in the same location: "mismatched tag at line 2, column 3621905" That character in that column seems to be "/" in the beginning of the las

Re: [gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Jeremy Palmer
> should be fixed by r25691 Thanks. That works when using SimplifyPreserveTopology :) This message contains information, which is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. I

Re: [gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Jeremy Palmer
So could it be a http streaming issue? -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jukka Rahkonen Sent: Wednesday, 27 February 2013 11:24 a.m. To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] ogr WFS GML parse error

Re: [gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Jukka Rahkonen
Jeremy Palmer linz.govt.nz> writes: > > > When use WFS to pull a large GML object it fails: > >   > ogrinfo -dialect sqlite -sql "select id, shape from \"v:x1571\" WHERE id = 3241251" WFS:'http://wfs.data.linz.govt.nz/84f646e35be34843abd9cee6085b50d6/v/x1571/wfs' > ERROR 1: XML parsing of GML

Re: [gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Even Rouault
Le mardi 26 février 2013 22:57:40, Jeremy Palmer a écrit : > As a follow up why can't I run: > > -sql "select id, ST_SimplifyPreserveTopology(shape, 0.005) from \"v:x1571\" > : > > for my SQLITE SQL? should be fixed by r25691 I haven't looked at your original issue with the GML parsing error. T

Re: [gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Jeremy Palmer
As a follow up why can't I run: -sql "select id, ST_SimplifyPreserveTopology(shape, 0.005) from \"v:x1571\" : for my SQLITE SQL? I get a message back saying: ERROR 1: Undefined function 'ST_SimplifyPreserveTopology' used I also tired just SimplifyPreserveTopology. Same result. When I put debu

[gdal-dev] ogr WFS GML parse error with WFS 1.1.0

2013-02-26 Thread Jeremy Palmer
When use WFS to pull a large GML object it fails: ogrinfo -dialect sqlite -sql "select id, shape from \"v:x1571\" WHERE id = 3241251" WFS:'http://wfs.data.linz.govt.nz/84f646e35be34843abd9cee6085b50d6/v/x1571/wfs' ERROR 1: XML parsing of GML file failed : mismatched tag at line 2, column 362182

Re: [gdal-dev] Gdal : import .ecw into postgis database

2013-02-26 Thread Andre Joost
Am 26.02.2013 17:48, schrieb image: Hello, I'm working on windows 7 64bits. I would like import into my db several .ecw files. Up to know i have followed this following tutorial : http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw I have installed the ECW SDK and paste the *dll from redistributa

[gdal-dev] Problems linking without curl

2013-02-26 Thread Jose Gomez-Dans
Hi, Trying to compile GDAL on RHEL6 x864_64. It's failing looking for libcurl when linking. I don't need curl in this machine, and it's not installed. My configure line is as follows: ./configure --prefix=/home/User/bin/ --with-libtiff=internal --with-hdf4=/usr/lib64/hdf --without-curl --without-

Re: [gdal-dev] Dissolve shapefile using GDAL/OGR

2013-02-26 Thread Hugo Benicio
*Andreas Oxenstierna,* Thanks for your answer, I'll take a look on PostGIS to see if it can be useful in my case, but I probably don't need to use a DBMS. *Jukka Rahkonen,* Thanks for your answer. I've tried that command but I'm probably missing Spatialite. Maybe I need to recompile my GDAL to use

[gdal-dev] Gdal : import .ecw into postgis database

2013-02-26 Thread image
Hello, I'm working on windows 7 64bits. I would like import into my db several .ecw files. Up to know i have followed this following tutorial : http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-ecw I have installed the ECW SDK and paste the *dll from redistributable\vc90\win32\ to C:\Windows\SysWOW64

Re: [gdal-dev] Dissolve shapefile using GDAL/OGR

2013-02-26 Thread Jukka Rahkonen
Hugo Benicio gmail.com> writes: > > Hi! > So, My question is pretty simple. > I'm developing a software in C++ that uses GDAL/OGR library to handle geoprocessing computations. What I need to do now is to dissolve a shapefile by a column (similiar to the Quantum GIS tool "Vector > Geoprocessing T

Re: [gdal-dev] gdaladdo don't seem to work..

2013-02-26 Thread Pietro Rossin
Ok, I found the answer for the aux/rrd pyramid here http://lists.osgeo.org/pipermail/gdal-dev/2008-August/017850.html Now I'm trying Bie 2013/2/26 Pietro Rossin > Hello Jukka > thanks for your reply > The axe file I think isn't necessary. > If I delete it qgis can open and use pyramids... > I

Re: [gdal-dev] Dissolve shapefile using GDAL/OGR

2013-02-26 Thread Andreas Oxenstierna
I would use PostGIS - they have comprehensive, very efficient and in my experience 100 % correct set of spatial processing tools. Hi! So, My question is pretty simple. I'm developing a software in C++ that uses GDAL/OGR library to handle geoprocessing computations. What I need to do now is to

Re: [gdal-dev] gdaladdo don't seem to work..

2013-02-26 Thread Pietro Rossin
Hello Jukka thanks for your reply The axe file I think isn't necessary. If I delete it qgis can open and use pyramids... I got a good compromise between render and pyramid dimension with this command gdaladdo -r nearest --config COMPRESS_OVERVIEW deflate --config USE_RRD YES test.tif 4 16 32 64 I

[gdal-dev] Dissolve shapefile using GDAL/OGR

2013-02-26 Thread Hugo Benicio
Hi! So, My question is pretty simple. I'm developing a software in C++ that uses GDAL/OGR library to handle geoprocessing computations. What I need to do now is to dissolve a shapefile by a column (similiar to the Quantum GIS tool "Vector > Geoprocessing Tools > Dissolve"). Does GDAL/OGR already s

Re: [gdal-dev] gdaladdo don't seem to work..

2013-02-26 Thread Jukka Rahkonen
Pietro Rossin gmail.com> writes: > > > I was wrong, it was working slow.But at the end it leaves a big file with extension .axe. Is this necessary? > I know pyramids are inside the .aux file.. > Thank you > Pietro I guess that after exceeding some 2 GB or 4 GB limit the pyramids are actually i

Re: [gdal-dev] gdaladdo don't seem to work..

2013-02-26 Thread Pietro Rossin
I was wrong, it was working slow. But at the end it leaves a big file with extension .axe. Is this necessary? I know pyramids are inside the .aux file.. Thank you Pietro 2013/2/25 Pietro Rossin > Hi all > I'll like to add overviews to a 1 bit geotiff > > the gdalinfo for this tiff is: > ***