[gdal-dev] How to give additional WFS parameters right?

Even Rouault even.rouault at mines-paris.org
Sat Aug 11 09:58:15 PDT 2012


Le samedi 04 août 2012 17:42:54, Jukka Rahkonen a écrit :
> Ok,
> Inserting WFS source between "" helped with command line (I am on
> Windows as usual").
> 
> ogr2ogr -f GML test2.txt "wfs:http://hip.latuviitta.org/cgi-bin/
> tinyows?SERVICE=WFS&VERSION=1.1.0&TYPENAME=
> lv:hki_parkkilippuautomaatit&MAXFEATURES=2"
> 
> The XML definition file overwrite problem is left.

I think the problem is just that you didn't XML-escaped the value of the URL 
element, namely the & character must be written as & 

I've updated the doc to make that more obvious (and fix the example where it 
wasn't done before OPTIONNAL_PARAMETER2 ) 

> 
> -Jukka-
> 
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120811/81a8d92c/attachment.html>


More information about the gdal-dev mailing list