Jukka,

I get: ERROR 1: 'Hämeenkylä' not recognised as an available field.

I.e., it seems to not be confused with 'ä' - I'm using a linux, where the terminal may be better with UTF8. However, the message confused me, it is coming from OGR SQL engine, and it seems that the engine tries to parse the constant as a field name.

The fix is to escape ', i.e., \'Hämeenkylä\', which works.

Ari

On 01/03/2012 10:01 AM, Jukka Rahkonen wrote:
Hi,

Next trouble with the WFS driver. How am I supposed to find a place named
'Hämeenkylä'?  The following request leads to an error telling me that there are
forbidden characters.

ogr2ogr -f "ESRI Shapefile" -spat 377346 6673628 392155 6684806 test.shp
WFS:http://hip.latuviitta.org/cgi-bin/tinyows  lv:pks_tilastoalue_piste -where
name='Hämeenkylä'

I have met this same error with other clients usign http GET. I suppose that 'ä'
characters should be given somehow escaped.

-Jukka Rahkonen-

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to