[gdal-dev] OGR SQL: Excecuting select where column name contains "."

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Fri Oct 5 05:02:55 PDT 2012


Jukka Rahkonen <jukka.rahkonen <at> mmmtike.fi> writes:

> This should definitely work too, but it does not
> >ogrinfo WFS:http://188.64.1.61/cgi-bin/tinyows -sql "select code_reg from tows:
> france"
> INFO: Open of `WFS:http://188.64.1.61/cgi-bin/tinyows'
>       using driver `WFS' successful.
> ERROR 1: SQL Expression Parsing Error: syntax error


Sorry for the undue judgement. This is the correct way to do it on Windows

>ogrinfo WFS:http://188.64.1.61/cgi-bin/tinyows -sql "select 'nom.dept' from
'tows:dot.test'"

It is just always as hard for me to remember the right syntax.

-Jukka-



More information about the gdal-dev mailing list