[Users] How to use OGC filters with Geoext
Surendran Neelakantan
surendrankn at gmail.com
Fri Aug 5 17:41:32 CEST 2011
Hi
I would like to know the best way to use OGC WFS filters with GeoEXT. I
want to query a WFS server and get the response data in GML format in a
grid. a sample query look like following.
http://SDMDataAccess.nrcs.usda.gov/Spatial/SDMNAD83UTM.wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature
&TYPENAME=MapunitPoly&FILTER=<Filter><BBOX><PropertyName>Geometry</PropertyName>
<Box srsName='EPSG:4236'><coordinates>-121.77100,37.368402
-121.76000,37.373473</coordinates>
</Box></BBOX></Filter>&SRSNAME=EPSG:26910&OUTPUTFORMAT=GML2
<http://sdmdataaccess.nrcs.usda.gov/Spatial/SDMNAD83UTM.wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=MapunitPoly&FILTER=%3CFilter%3E%3CBBOX%3E%3CPropertyName%3EGeometry%3C/PropertyName%3E%3CBox%20srsName=%27EPSG:4236%27%3E%3Ccoordinates%3E-121.77100,37.368402%20-121.76000,37.373473%3C/coordinates%3E%3C/Box%3E%3C/BBOX%3E%3C/Filter%3E&SRSNAME=EPSG:26910&OUTPUTFORMAT=GML2>
How do I overcome the same origin policy when creating a data store with
the above query.?
It would be great if somebody can show me a working example with the above
query.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110805/fab40501/attachment.htm
More information about the Users
mailing list