Timeline for OpenLayers WFS source with bbox and filter
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 17, 2023 at 7:32 | vote | accept | Askirkela | ||
May 15, 2023 at 20:04 | answer | added | TomazicM | timeline score: 2 | |
May 15, 2023 at 14:58 | comment | added | nmtoken | For example here's a similar example from OGC ~ schemas.opengis.net/filter/2.0/examples/3.2.1/filter04.xml | |
May 15, 2023 at 14:53 | comment | added | Askirkela | I'll try and contact the maintainers of the server 'cause it's driving me crazy. | |
May 15, 2023 at 14:46 | history | edited | Askirkela | CC BY-SA 4.0 |
added 449 characters in body
|
May 15, 2023 at 14:24 | comment | added | nmtoken |
<ows:ExceptionText>org.xml.sax.SAXException: Attempted to construct illegal filter - I dont understand the tag: ValueReference. HINT: tags are case-sensitive!... but ValueReference is correct spelling ~ schemas.opengis.net/filter/2.0/expr.xsd. Possibly the service/server is not looking at correct schemas for Filter encoding
|
|
May 15, 2023 at 13:46 | comment | added | Askirkela |
The server is still choking (raising SAX exceptions) on ValueReference and Envelope
|
|
May 15, 2023 at 13:40 | history | edited | Askirkela | CC BY-SA 4.0 |
add progress
|
May 15, 2023 at 13:38 | comment | added | nmtoken |
Try filter like: <Filter xmlns="http://www.opengis.net/fes/2.0"><And><And><PropertyIsLike wildCard="*" escapeChar="\" singleChar="."><ValueReference>route</ValueReference><Literal>A*</Literal></PropertyIsLike><PropertyIsLike wildCard="*" escapeChar="\" singleChar="."><ValueReference>cote</ValueReference><Literal>D</Literal></PropertyIsLike></And><BBOX><ValueReference>geometrie</ValueReference><gml:Envelope srsName="urn:ogc:def:crs:EPSG::4326"><gml:lowerCorner>50 -1</gml:lowerCorner><gml:upperCorner>55 51</gml:upperCorner></gml:Envelope></BBOX></And></Filter>
|
|
May 15, 2023 at 13:32 | comment | added | Askirkela | Yeah, I didn't know but I tried that like 5 minutes ago: still no features. But thanks. | |
May 15, 2023 at 13:28 | comment | added | nmtoken | The service only reports support of EPSG:4326 so your request using EPSG:3857 may be the cause of your issue | |
May 15, 2023 at 12:27 | comment | added | Askirkela |
Ok, I tried but the server responds with org.xml.sax.SAXException: Attempted to construct illegal filter - I dont understand the tag: gml:Envelope ... while gml:Envelope is listed in the GetCapabilites of the server
|
|
May 15, 2023 at 11:56 | comment | added | Askirkela | I'll try that, thanks for the input. | |
May 15, 2023 at 11:08 | history | edited | Vince | CC BY-SA 4.0 |
naming
|
May 15, 2023 at 10:45 | comment | added | user30184 | I am not sure how lenient the IGN server might be, but WFS 2.0 is based on GML 3.x and "Box + Coordinates" belong to GML 2 schemas.liquid-technologies.com/OpenGis/gml/3.0.1/…. I would still try Envelope with lowerCorner and upperCorner. | |
May 15, 2023 at 10:00 | comment | added | Askirkela |
The <PropertyIsLike> are working as intended, it's the <BBOX> that causes problem.
|
|
May 15, 2023 at 9:52 | comment | added | Ian Turton |
try changing your escape char to something that isn't \ or use two \\
|
|
May 15, 2023 at 9:43 | history | edited | Askirkela | CC BY-SA 4.0 |
added 1 character in body
|
S May 15, 2023 at 9:35 | review | First questions | |||
May 15, 2023 at 9:43 | |||||
S May 15, 2023 at 9:35 | history | asked | Askirkela | CC BY-SA 4.0 |