Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for qualified named attribute in ecql #78

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

jokiefer
Copy link
Contributor

add support for qualified named attribute in ecql like dc:title LIKE '%huhu%'

fixes #22

@constantinius
Copy link
Contributor

I think when referencing properties that include characters like : one has to properly quote them with double quotes. "dc:title" LIKE '%huhu%'. I'll need to read up on the spec in that regard.

@constantinius constantinius merged commit a08c5a5 into geopython:main Nov 15, 2023
0 of 3 checks passed
@constantinius
Copy link
Contributor

@jokiefer I'm sorry I mixed up the specs. In the CSW spec we see various examples of property identifiers with the colon character without quoting. e.g taken from the CSW 2.0.2 spec:

http://www.someserver.com/csw/csw.cgi?request=GetRecords&version=2.0.2&outputFormat=application/xml&outputSchema=http://www.opengis.net/cat/csw/2.0.2&namespace=csw:http://www.opengis.org/cat/csw&ResponseHandler="mailto:[email protected]"&typeName=csw:Record&elemnSetName=brief&constraintlanguage=CQLTEXT&constraint="csw:AnyText Like '%pollution%'" 

@constantinius
Copy link
Contributor

In CQL 2 Text colon characters only seem to be allowed at the start of the identifier (which is weird, imo): https://github.com/opengeospatial/ogcapi-features/blob/master/cql2/standard/schema/cql2.bnf#L228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cql-text
2 participants