[gdal-dev] A CSW query that seems to me works badly
andy
aborruso at gmail.com
Wed Nov 16 03:37:22 PST 2022
Even
first of all thank you
On Wed, 16 Nov 2022 at 11:51, Even Rouault <even.rouault at spatialys.com>
wrote:
> That returns zero feature. That said, I'm not sure that is what you want
> to do, since the server should really look for a dc:subject whose value
> is "Impianti e strutture ricettive", with the double quotes.
>
> Probably -where "abstract = 'Impianti e strutture ricettive'" is more
> what you want. But that returns also 0 features
>
I look for `Impianti e strutture ricettive` both in abstract and subject.
But I didn't imagine that write this
ogrinfo --debug on -ro -al "CSW:http://geodati.gov.it/RNDT/csw" -where
"abstract LIKE 'Impianti e strutture ricettive'"
was a search in OR: Impianti OR e OR strutture OR ricettive, because since
it's some kind of SQL command, to me it meant exactly the whole string
`Impianti e strutture ricettive`.
But I understand that this is not an error, and that command expects that
type of OR search, unless you put everything in double quotes. Am I right?
Thank you
--
___________________
Andrea Borruso
website: https://medium.com/tantotanto
38° 7' 48" N, 13° 21' 9" E, EPSG:4326
___________________
"cercare e saper riconoscere chi e cosa,
in mezzo all’inferno, non è inferno,
e farlo durare, e dargli spazio"
Italo Calvino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221116/61170132/attachment.htm>
More information about the gdal-dev
mailing list