[OpenLayers-Trac] [OpenLayers] #2905: BBOX Filter in HTTP Protocol

OpenLayers trac-20090302 at openlayers.org
Thu Oct 28 09:18:35 EDT 2010


#2905: BBOX Filter in HTTP Protocol
------------------------------+---------------------------------------------
 Reporter:  mosesonline       |       Owner:                  
     Type:  feature           |      Status:  new             
 Priority:  minor             |   Milestone:  2.11 Release    
Component:  Protocol.HTTP     |     Version:  2.10            
 Keywords:  BBOX,Filter,HTTP  |       State:  Needs Discussion
------------------------------+---------------------------------------------
 When the http protocol transforms filters to parameters in
 "filterToParams" it doesn't add the projection to the parameters in the
 case of a BBOX filter(which has this property, when it's generated by the
 BBOX startegy). If it's not inculded the service on server cannot know
 what the passed coordinates mean. Now we could assume the coordinate
 system, but with it the service could be more flexible for changes.
 Is it possible to change the case of bbox like this:
 case OpenLayers.Filter.Spatial.BBOX:
                         params.bbox = filter.value.toArray();
                         if(filter.projection) {
                              params.projection = filter.projection;
                         }
                         break;
 Thx for good work,
 Moses

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


More information about the Trac mailing list