Opened 14 years ago
Last modified 14 years ago
#3495 new defect
Reprojection Error with Filter Geometry not reported
Reported by: | warmerdam | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | WMS Server | Version: | unspecified |
Severity: | normal | Keywords: | sld filter |
Cc: |
Description
In the msautotest/wxs/wms_sld.map file, the test wms_get_map_multi_polygon_filter.png is currently failing for me. No features are drawn. A blank map is produced.
Stepping through the code it appears to be due to a failure to initialize the epsg:42304 projection. I can deal with this, but what is less clear is why the error was not reported despite an msSetError() call being made low in the guts.
Change History (2)
comment:1 by , 14 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:2 by , 14 years ago
Cc: | removed |
---|---|
Owner: | changed from | to
I have applied a fairly specific fix for my problem in trunk (r10373) and now the error is properly returned as an exception. I also extended similar changes to a few other places in trunk without actual testing (r10374).
Assefa, could you review? I'm not inclined to backport these since there is substantial risk of breakage, and the primary benefit is just easier debugging of broken configurations.
This SLD/filter code is complicated!
The problem seems to be this code in mapogcfilter.c which does not make any further attempt to report problems if FLTParseEpsgString() fails.
I'll see if I can come up with a patch.