[OpenLayers-Users] Re: Help with SLDSelect - not doing any highlighting.

Bart van den Eijnden bartvde at osgis.nl
Thu Mar 17 16:03:21 EDT 2011


Hey Phil,

interesting find, and if you add the srsName manually to the SLD, does it work then?

Bart

Sent from my iPhone

On Mar 16, 2011, at 10:02 PM, Phil Scadden <p.scadden at gns.cri.nz> wrote:

> 
>> I think it might help to ask on the Geoserver list why that SLD is not being applied properly. Maybe also Geoserver logging might give you a clue.
> Okay, will do both.
>> Using Mapserver I have always been using spatial filters in different spatial reference systems than the map, so this should not be an issue.
> Well the SLDSelect example works on geoserver but I have banged my head 
> on a wall trying to get it to work with google layer as well (and thus a 
> projection change).
> 
> I am using the exactly the same OL filter object for both sldselect and 
> for an WFS query. I compared the two (the WFS works) and I do notice 
> this difference...
> SLD -
> <gml:Polygon xmlns:gml="http://www.opengis.net/gml">
> WFS
> <gml:polygon xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913">
> 
> -- 
> Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
> Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232
> 
> Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
> 


More information about the Users mailing list