[OpenLayers-Trac] [OpenLayers] #1113: wfs filter: generated URL should not have a bbox if a filter is enabled

OpenLayers trac at openlayers.org
Sun Feb 3 20:53:05 EST 2008


#1113: wfs filter:  generated URL should not have a bbox if a filter is enabled
-------------------------+--------------------------------------------------
  Reporter:  ominiverdi  |       Owner:  tschaub
      Type:  feature     |      Status:  new    
  Priority:  minor       |   Milestone:         
 Component:  Layer.WFS   |     Version:  2.5    
Resolution:              |    Keywords:         
     State:              |  
-------------------------+--------------------------------------------------
Changes (by openlayers):

  * state:  =>

Comment:

 i've had a look at the patch, unfortunately it seems that the BBOX defined
 in the patch is hard coded for a particular SRS, and that it doesn't know
 about the name of the geomtery column, so i had to edit those to suit my
 setup.

 so:
  "<ogc:And><ogc:BBOX><ogc:PropertyName>" + this.geometry_column +
 "</ogc:PropertyName>" +
 "<gml:Box srsname=\"http://www.opengis.net/gml/epsg.xml#28992\">" +

 became this for me:
 "<ogc:And><ogc:BBOX><ogc:PropertyName>GEOMETRY</ogc:PropertyName>" +
                         "<gml:Box srsname=\"EPSG:4283\">" +

 i'm guessing those values from be inherited from somewhere ?

 other than that its great !! :)

 -i

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1113#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list