[mapserver-users] Trouble shooting SLD?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sun Oct 17 14:16:18 EDT 2010


Hi,

It would be much easier to start thinking about what goes wrong if you could mail also your layer and the failing SLD.

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: K
Lähetetty: su 17.10.2010 21:09
Vastaanottaja: Jeff McKenna
Kopio: mapserver-users at lists.osgeo.org
Aihe: Re: [mapserver-users] Trouble shooting SLD?
 
Thanks, I tried one of those. Left colors as is, but changed the Name, 
Title and PropertyName fields to the name of the layer in my map file.

Still no luck, just returns the normal map.

Thanks again,

Ken

On 17/10/2010 11:57 AM, Jeff McKenna wrote:
> On 10-10-17 11:01 AM, K wrote:
>> Is there any way to trouble shoot why an SLD layer is being being
>> rejected, or suggestions as to what it might be? Currently Mapserver
>> seems to be ignoring the SLD and not displaying it, which I assume means
>> some kind of parsing error or rejection of the SLD?
>>
>> I look at my getcapabilities and it says: <UserDefinedSymbolization
>> SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0"/>
>>
>> Which I assume means yes SLD is supported.
>>
>> I can browse to my SLD file, no errors opening it:
>> http://www.rockies.ca/coyotes/sld_template2.xml
>>
>> I have tried using an SLD created by QGIS, one using PHP/Mapscript, and
>> a couple from examples in Mapserver documentation that I edited to work
>> for my use.
>>
>> I turned on the error log in my map file and put debug to 5, no mention
>> of any errors or anything, though that isn't surprising as from what I
>> read Mapserver currently catches those errors and displays the WMS layer
>> as is, but provides no feedback as to the errors?
>>
>> I had spaces in my layer name to start, thought that might cause a
>> problem so removed those.
>>
>> I have tried viewing in Openlayers, straight URL request, and via a
>> quick mapscript application, all the same result.
>>
>> Any other suggestions?
>
> Note that all SLDs used in the MapServer documentation can be accessed
> at: http://demo.mapserver.org/ogc-demos/map/sld/
>
> -jeff
>
>
_______________________________________________
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