[Geoserver-devel] SLD-Reference

Hello list,

I tried out to set an sld-reference in a wms-getMap-request like:

http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&SLD=http%3A%2F%2Flocalhost%3A8080%2Fgeoserver%2Fdata%2styles%2Fpopshade\.sld

or with styles-info for library-mode:
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&styles=population&SLD=http%3A%2F%2Flocalhost%3A8080%2Fgeoserver%2Fdata%2styles%2Fpopshade\.sld

but without any graphical response, only with black-lined state-bounderies (in my feature-info default=normal), have I done something wrong???

further questions:
-Not a long time ago, there was a discussion about getting data out of the database with problems because the ogc-filtering didn't work inside of sld-rules (problems with SAX and DOM). I have lost the wire. Is there a solution now, please tell me, if so?
-The entry in the getCapabilities-document of the wms looks like:
<UserDefinedSymbolization SupportSLD="0" UserLayer="0" UserStyle="0" RemoteWFS="0"/>
does the 0 mean that the particualier attribute isnt supported? For remoteWFS and userLayer, I would understand it as I learned that geoserver wms is a integrated one, but why not supportSLD or UserStyle, I am a little bit confused, please clear me up again??!!??

Best regards, Sven Tschirner

Best regards

Hi Sven,
which GeoServer version are you working with?
I suspect one prior to 1.3 beta.
If so, please try the latest one, which should manage your filters properly
and capabilities retrurns

<UserDefinedSymbolization SupportSLD="1" UserLayer="1" UserStyle="1"
RemoteWFS="0"/>

If still having problems please send them back to us.

cheers,

Gabriel.

On Monday 18 July 2005 11:22, Sven Tschirner wrote:

Hello list,

I tried out to set an sld-reference in a wms-getMap-request like:

http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&Format=image/png&re
quest=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&SLD=http%3A%2F
%2Flocalhost%3A8080%2Fgeoserver%2Fdata%2styles%2Fpopshade.sld

or with styles-info for library-mode:
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&Format=image/png&re
quest=GetMap&layers=states&width=550&height=250&srs=EPSG:4326&styles=populat
ion&SLD=http%3A%2F%2Flocalhost%3A8080%2Fgeoserver%2Fdata%2styles%2Fpopshade.
sld

but without any graphical response, only with black-lined state-bounderies
(in my feature-info default=normal), have I done something wrong???

further questions:
-Not a long time ago, there was a discussion about getting data out of the
database with problems because the ogc-filtering didn't work inside of
sld-rules (problems with SAX and DOM). I have lost the wire. Is there a
solution now, please tell me, if so? -The entry in the
getCapabilities-document of the wms looks like:
<UserDefinedSymbolization SupportSLD="0" UserLayer="0" UserStyle="0"
RemoteWFS="0"/> does the 0 mean that the particualier attribute isnt
supported? For remoteWFS and userLayer, I would understand it as I learned
that geoserver wms is a integrated one, but why not supportSLD or
UserStyle, I am a little bit confused, please clear me up again??!!??

Best regards, Sven Tschirner

Best regards

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel