[OpenLayers-Trac] Re: [OpenLayers] #3182: Problem with SLDSelect Control when used on projected map.

OpenLayers trac-20090302 at openlayers.org
Tue Mar 22 05:36:55 EDT 2011


#3182: Problem with SLDSelect Control when used on projected map.
-------------------------------+--------------------------------------------
 Reporter:  scaddenp           |       Owner:  bartvde     
     Type:  bug                |      Status:  assigned    
 Priority:  major              |   Milestone:  2.11 Release
Component:  Control.SLDSelect  |     Version:  2.10        
 Keywords:                     |       State:              
-------------------------------+--------------------------------------------

Comment(by bartvde):

 Hmm, unfortunately adding the srsName does not fix the issue, GeoServer
 still responds with an empty image.

 <sld:StyledLayerDescriptor xmlns:sld="http://www.opengis.net/sld"
 version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld
 http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:ogc="http://www.opengis.net/ogc"
 xmlns:gml="http://www.opengis.net/gml"><sld:NamedLayer><sld:Name>topp:tasmania_water_bodies</sld:Name><sld:UserStyle><sld:Name>default</sld:Name><sld:FeatureTypeStyle><sld:Rule><ogc:Filter
 xmlns:ogc="http://www.opengis.net/ogc"><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Box
 xmlns:gml="http://www.opengis.net/gml"
 srsName="EPSG:900913"><gml:coordinates decimal="." cs="," ts="
 ">16237781.240227,-5319824.9118939
 16308714.802466,-5247668.3572028</gml:coordinates></gml:Box></ogc:BBOX></ogc:Filter><sld:PolygonSymbolizer><sld:Fill><sld:CssParameter
 name="fill">#FF0000</sld:CssParameter></sld:Fill></sld:PolygonSymbolizer></sld:Rule></sld:FeatureTypeStyle></sld:UserStyle></sld:NamedLayer></sld:StyledLayerDescriptor>

 I will ask on the GS list to see if it is an issue on their side.

 Would be good for us to add this anyways.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3182#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list