SLD & Spatial filter

François Prunayre fx.prunayre at OIEAU.FR
Tue Jul 5 11:34:27 EDT 2005


Hi list, I'm looking for advice about SLD FILTER ... Comparison Filters and
Logical Filters works in SLD file like 
	"<PropertyIsEqualTo>
		<PropertyName>ID</PropertyName>
		<Literal>655</Literal>
	</PropertyIsEqualTo>"

But spatial filter doesn't seem to be applied to layers like 
"	<DWithin>
		<PropertyName>Geometry</PropertyName>
	
<gml:Point><gml:coordinates>0.37,48.68</gml:coordinates></gml:Points>
		<Distance units='m'>10000<Distance>
	</DWithin>" or
	
"	<Intersect>
		<PropertyName>Geometry</PropertyName>
	
<gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates>0,48.27
1.67,49.24 2.62,47.56
0,48.27</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygo
n>
	</Intersect> "

Does spatial filter work only with WFS layers and not with SLD ? Is this in
the OGC spec for SLD or is it not implemented in mapserver ?

Thanks for your help. 
Francois




-- 
Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n'a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized.



More information about the mapserver-users mailing list