I cant seem to have my bbox or any other spatial filter criteria in another
projection other than the native data projection (26911). I couldnt find
exactly the answer in the archives so i thought i'd post
does geos support spatial filters in in any projection - eg will it
reproject on the server on the fly to perform calcs? if yes can somebody
point me in the right direction?
Thanks - sample urls below
--------------------------------------------------------
-- URL for getFeature within BBOX of point in coords ---
-- *WORKS*
http://itis-demo.com:8080/geoserver/wfs?request=getfeature&service=wfs&versi
on=1.0.0&typename=itis:PLSS_RTES&filter=<ogc:Filter
xmlns:ogc="http://ogc.org"
xmlns:gml="http://www.opengis.net/gml"><ogc:BBOX><ogc:PropertyName>GEOMETRY<
/ogc:PropertyName><gml:Box
srsName="EPSG:26911"><gml:coordinates>569000,4445000
569020,4445020</gml:coordinates></gml:Box></ogc:BBOX></ogc:Filter>
--------------------------------------------------------
-- URL for getFeature within BBOX of point in lonlat ---
-- *DOES NOT WORK*
http://itis-demo.com:8080/geoserver/wfs?request=getfeature&service=wfs&versi
on=1.0.0&typename=itis:PLSS_RTES&filter=<ogc:Filter
xmlns:ogc="http://ogc.org"
xmlns:gml="http://www.opengis.net/gml"><ogc:BBOX><ogc:PropertyName>GEOMETRY<
/ogc:PropertyName><gml:Box srsName="EPSG:4326"><gml:coordinates>-116.5,40.5
-116,40.6</gml:coordinates></gml:Box></ogc:BBOX></ogc:Filter>
Chris Hughes
Solutions Architect
Phone: (503) 616-3850 *new
Cell: (503) 807-5052