Opened 19 years ago
Closed 16 years ago
#1423 closed defect (worksforme)
Internal Server Error when using invalid geometry column name
Reported by: | Owned by: | tomkralidis | |
---|---|---|---|
Priority: | high | Milestone: | 5.2 release |
Component: | WFS Server | Version: | 4.6 |
Severity: | normal | Keywords: | |
Cc: |
Description
The following request crashes Mapserver WFS: <GetFeature maxfeatures="100" service="WFS" version="1.0.0" xmlns="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.opengis.net/wfs/1.0.0 WFS-basic.xsd"><Query xmlns="" typename="bislocatie"><ogc:Filter><ogc:DWithin><ogc:PropertyName>Geometry</ogc:PropertyName><gml:Polygon srsName="EPSG:28992"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>104030.047950,498012.127900 104030.263050,498036.333900 104055.456000,498041.950000 104056.623000,498042.210050 104056.669950,498041.993050 104059.873950,498027.176150 104061.607050,498019.162900 104030.047950,498012.127900 </gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon><ogc:Distance units="m">0.01</ogc:Distance></ogc:DWithin></ogc:Filter></Query></GetFeature> while this works: <GetFeature maxfeatures="100" service="WFS" version="1.0.0" xmlns="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.opengis.net/wfs/1.0.0 WFS-basic.xsd"><Query xmlns="" typename="bislocatie"><ogc:Filter><ogc:DWithin><ogc:PropertyName>msGeometry</ogc:PropertyName><gml:Polygon srsName="EPSG:28992"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>104030.047950,498012.127900 104030.263050,498036.333900 104055.456000,498041.950000 104056.623000,498042.210050 104056.669950,498041.993050 104059.873950,498027.176150 104061.607050,498019.162900 104030.047950,498012.127900 </gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon><ogc:Distance units="m">0.01</ogc:Distance></ogc:DWithin></ogc:Filter></Query></GetFeature> Note msGeometry instead of Geometry works. But an error message should be reported instead of the crash.
Change History (2)
comment:1 by , 16 years ago
Milestone: | → 5.2 release |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Hey Tom, this works for me now as well. Closing.
Note:
See TracTickets
for help on using tickets.
Bart: I can't reproduce this error. I am not getting a crash, yet a successful response (but not an exception). Can you verify this is still an issue?