[OpenLayers-Trac] [OpenLayers] #2977: Bounds.toGeometry create polygon with incorrect winding.

OpenLayers trac-20090302 at openlayers.org
Sun Dec 12 15:45:40 EST 2010


#2977: Bounds.toGeometry create polygon with incorrect winding.
----------------------+-----------------------------------------------------
 Reporter:  scaddenp  |       Owner:              
     Type:  feature   |      Status:  new         
 Priority:  major     |   Milestone:  2.11 Release
Component:  Geometry  |     Version:  2.10        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 Since ArcGIS Server doesnt support DWITHIN, I was using a rectangle
 instead with INTERSECTS for filtering a WFS. This was not working. On
 inspection, it turns out that the winding produced by toGeometry is
 incorrect. It is counterclockwise which should be a hole in arcGIS
 understanding.

 I notice winding is subject of a osgeo RFC.
 http://trac.osgeo.org/fdo/wiki/FDORfc48

 It looks to me, that in absence of a standard, toGeometry needs a
 "winding" parameter to match the capabilities of the server with which it
 will be used.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2977>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list