[gdal-dev] Can't get gdal_rasterize to work... with anything.

2014-12-12 Thread Karen Pease
Hi all, I'm running Fedora 21 with a fresh built gdal-1.9.2. Try as I might, I can't get gdal_rasterize to output anything other than purely transparent images, purely white images, or purely black images. I want to use it on this dataset - "Elevation data. GDB og SHP. ISN2004": http://atlas.l

Re: [gdal-dev] Parse GML without geometry

2014-12-12 Thread Steve . Toutant
Got it! Lots of fun! Good links for python http://pcjericks.github.io/py-gdalogr-cookbook/vector_layers.html#get-wfs-layer-and-iterate-over-features Thousand thanks Even Rouault @lists.osgeo.org Envoyé par : gdal-dev-boun...@lists.osgeo.org 2014-12-12 15:42 A gdal-dev@lists.osgeo.org cc st

Re: [gdal-dev] Parse GML without geometry

2014-12-12 Thread Even Rouault
Le vendredi 12 décembre 2014 21:38:06, steve.tout...@inspq.qc.ca a écrit : > thanks Kyle > > I ended up with > geom=osgeo.ogr.CreateGeometryFromGML(wfs_response) > Returns ERROR 1: Unrecognised geometry type > > If I understand well, I think my question now is > How do I parse the feature collec

Re: [gdal-dev] Parse GML without geometry

2014-12-12 Thread Steve . Toutant
thanks Kyle I ended up with geom=osgeo.ogr.CreateGeometryFromGML(wfs_response) Returns ERROR 1: Unrecognised geometry type If I understand well, I think my question now is How do I parse the feature collection with ogr? Kyle Shannon 2014-12-12 14:47 A steve.tout...@inspq.qc.ca cc GDAL

Re: [gdal-dev] Parse GML without geometry

2014-12-12 Thread Kyle Shannon
Steve, On Fri, Dec 12, 2014 at 12:35 PM, wrote: > Hi, > I need to parse the GML returned by this query, to make a list of unique > value of NA2DESC tag using python > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertynam

[gdal-dev] Parse GML without geometry

2014-12-12 Thread Steve . Toutant
Hi, I need to parse the GML returned by this query, to make a list of unique value of NA2DESC tag using python http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC) I could not make it with a XML parser yet.

Re: [gdal-dev] Wiki whist list page ?

2014-12-12 Thread Peter Halls
Many thanks, Jukka. I agree that separating bugs from enhancements could be useful - especially as the enhancements list would represent tasks not yet attainable in the GDAL Suite and if there is an opportunity to add a 'me too' flag. This latter could help indicate enhancement requests with a br

Re: [gdal-dev] Snap point to vertex/segment

2014-12-12 Thread Federico Jurio
Thank you for the answers guys. My system only have gdal/ogr so i can't use PostGIS. I tried to use the Project method from OGRSimpleCurve class but always return -1 because i'm creating the geometry using OGR instead

[gdal-dev] Wiki whist list page ?

2014-12-12 Thread Even Rouault
Hi, Seeing Jukka's effort those last days to clean dust from GDAL Trac tickets (folks, please give him a huge thank, as this is one of the most tedious task possible !), I was wondering if enhancement tickets shouldn't be migrated to a single, and structured, page, especially when there are rea

Re: [gdal-dev] compile error on master

2014-12-12 Thread Stefan Ziegler
Hi Even thanks. I was pretty sure I've cleaned before. Now it works... (perhaps forgot sudo before). regards Stefan On Fri, Dec 12, 2014 at 12:40 PM, Even Rouault wrote: > > Le vendredi 12 décembre 2014 10:10:46, Stefan Ziegler a écrit : > > Hi > > > > I have troubles compiling gdal on Ubuntu 1

Re: [gdal-dev] compile error on master

2014-12-12 Thread Even Rouault
Le vendredi 12 décembre 2014 10:10:46, Stefan Ziegler a écrit : > Hi > > I have troubles compiling gdal on Ubuntu 10.04 and 12.04 (worked few weeks > ago): Stefan, Did you "make clean" before ? GDAL makefiles have not the dependencies to the headers, so changes in them do not automatically trig

[gdal-dev] compile error on master

2014-12-12 Thread Stefan Ziegler
Hi I have troubles compiling gdal on Ubuntu 10.04 and 12.04 (worked few weeks ago): make[1]: Entering directory `/usr/local/src/gdal/gdal-dev/gdal' make[1]: `libgdal.la' is up to date. make[1]: Leaving directory `/usr/local/src/gdal/gdal-dev/gdal' (cd apps; make) make[1]: Entering directory `/usr