[Users] How to use OGC filters with Geoext
Adam Ratcliffe
adam at prema.co.nz
Sun Aug 7 07:20:54 CEST 2011
You can create a server-side proxy, hosted on the same domain as your
web app. OpenLayers comes with a CGI script that you can install for
this purpose. Read more here:
http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost
Cheer
On Sat, Aug 6, 2011 at 3:41 AM, Surendran Neelakantan
<surendrankn at gmail.com> wrote:
>
> 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
>
>
> 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
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list