[mapserver-users] getmap request with SLD failing after upgrade to 5.6.0

DeDuikertjes DeDuikertjes at xs4all.nl
Tue Mar 2 23:43:01 PST 2010


Hi,

And if I do the same request without the SLD:
https://85.12.17.114/cgi-bin/mapserv?map=../html/viewerfabriek-alpha/data/vf_80.101.100.35_check/4b8d40f7e0787/NL.IMRO.0184.Zeewijkfase4-0201.map&LAYERS=query&FORMAT=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=625312.21905694,6921632.3781404,627462.0104771,6922637.4056294&WIDTH=1800&HEIGHT=841

the result is an image and the error file says:
[Wed Mar  3 08:40:28 2010].43084 msDrawMap(): Layer 0 (query_vlak), 0.046s
[Wed Mar  3 08:40:28 2010].45806 msDrawMap(): Layer 1 (query_lijn), 0.003s
[Wed Mar  3 08:40:28 2010].47602 msDrawMap(): Layer 2 (query_punt), 0.002s
[Wed Mar  3 08:40:28 2010].47700 msDrawMap(): Drawing Label Cache, 0.000s
[Wed Mar  3 08:40:28 2010].47712 msDrawMap() total time: 0.062s
[Wed Mar  3 08:40:28 2010].288683 msSaveImage() total time: 0.241s
[Wed Mar  3 08:40:28 2010].288878 mapserv request processing time 
(msLoadMap not incl.): 0.331s
[Wed Mar  3 08:40:28 2010].288898 msFreeMap(): freeing map at 0x879a928.

MArco

Yewondwossen Assefa schreef:
> Hi There,
>
> One way to debug would be to set your map file in debug, something 
> like this:
> CONFIG  "MS_ERRORFILE" "f:/msapps/gmap-ms40/htdocs/gmap.log"
> DEBUG 5
> and check the logs. It should show you the map file after the sld has 
> been applied. That might give a  hint on what went wrong.
>
> best regards,
>
> DeDuikertjes wrote:
>> Hi List,
>>
>> Finally I managed to upgrade mapserver 5.1-dev (FWTools) to 5.6.0 (FGS).
>> I use it as a WMS. Everything looks fine, but I've one anoying problem:
>>
>> When I do a getmap-request with an SLD I get an empty image back, while
>> 5.1-dev gives me a proper result.
>> Other getmap requests work fine.
>> I tested this several times by swapping the old mapserv executable with
>> the new one.
>>
>> an example of a getmap request which fails on 5.6.0 and succeeds in
>> 5.1-dev is:
>> https://85.12.17.114/cgi-bin/mapserv?map=../html/viewerfabriek-alpha/data/vf_80.101.100.35_check/4b8d40f7e0787/NL.IMRO.0184.Zeewijkfase4-0201.map&LAYERS=query&FORMAT=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SLD_BODY=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csld%3AStyledLayerDescriptor%20version%3D%221.0.0%22%3E%3Csld%3ANamedLayer%3E%3Csld%3AName%3Equery%3C%2Fsld%3AName%3E%3Csld%3AUserStyle%3E%3Csld%3AName%3Equery%3C%2Fsld%3AName%3E%3Csld%3AFeatureTypeStyle%3E%3Csld%3ARule%3E%3Cogc%3AFilter%3E%3Cogc%3APropertyIsEqualTo%3E%3Cogc%3APropertyName%3Egeoidn%3C%2Fogc%3APropertyName%3E%3Cogc%3ALiteral%3ENL.IMRO.0184.EP127818521-00%3C%2Fogc%3ALiteral%3E%3C%2Fogc%3APropertyIsEqualTo%3E%3C%2Fogc%3AFilter%3E%3Csld%3APolygonSymbolizer%3E%3Csld%3AFill%3E%3Csld%3ACssParameter%20name%3D%22fill%22%3E%23FF00FF%3C%2Fsld%3ACssParameter%3E%3Csld%3ACssParameter%20name%3D%22fill-opacity%22%3E0.4%3C%2Fsld%3ACssParameter%3 
>>
>> E%3C%2Fsld%3AFill%3E%3Csld%3AStroke%3E%3Csld%3ACssParameter%20name%3D%22stroke%22%3E%23FF00FF%3C%2Fsld%3ACssParameter%3E%3Csld%3ACssParameter%20name%3D%22stroke-opacity%22%3E0.4%3C%2Fsld%3ACssParameter%3E%3Csld%3ACssParameter%20name%3D%22stroke-width%22%3E2%3C%2Fsld%3ACssParameter%3E%3C%2Fsld%3AStroke%3E%3C%2Fsld%3APolygonSymbolizer%3E%3Csld%3ALineSymbolizer%3E%3Csld%3AStroke%3E%3Csld%3ACssParameter%20name%3D%22stroke%22%3E%23FF00FF%3C%2Fsld%3ACssParameter%3E%3Csld%3ACssParameter%20name%3D%22stroke-opacity%22%3E0.4%3C%2Fsld%3ACssParameter%3E%3Csld%3ACssParameter%20name%3D%22stroke-width%22%3E2%3C%2Fsld%3ACssParameter%3E%3C%2Fsld%3AStroke%3E%3C%2Fsld%3ALineSymbolizer%3E%3C%2Fsld%3ARule%3E%3C%2Fsld%3AFeatureTypeStyle%3E%3C%2Fsld%3AUserStyle%3E%3C%2Fsld%3ANamedLayer%3E%3C%2Fsld%3AStyledLayerDescriptor%3E&SRS=EPSG%3A900913&BBOX=625312.21905694,6921632.3781404,627462.0104771,6922637.4056294&WIDTH=1800&HEIGHT=841 
>>
>>
>> any help greatly appreciated, MArco
>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>




More information about the MapServer-users mailing list