[OpenLayers-Trac] [OpenLayers] #1543: add support for writing spatial filters in an SLD document
OpenLayers
trac at openlayers.org
Thu May 8 10:28:31 EDT 2008
#1543: add support for writing spatial filters in an SLD document
-------------------------+--------------------------------------------------
Reporter: bartvde | Owner: tschaub
Type: task | Status: new
Priority: minor | Milestone:
Component: Format.SLD | Version: 2.6
Resolution: | Keywords: review
State: |
-------------------------+--------------------------------------------------
Comment (by bartvde):
One thing I did not like is that I had to use an
OpenLayers.Geometry.Rectangle (which is about to be deprecated) to
represent a gml:Box. The comments state one should use a
OpenLayers.Bounds.toGeometry() which will yield a Polygon, but in that
case I think we would need a utility function on a Polygon to see if it is
a rectangle or not, to represent it in its right GML form.
Also, is it necessary to create OpenLayers.Format.GML objects like I do
now to serialize the geometries, or can we inherit Format.SLD from
Format.GML?
--
Ticket URL: <http://trac.openlayers.org/ticket/1543#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list