Working with Openscales – the Flex open source mapping API – I’ve been querying Geoserver using WFS GET parameters. But I have found some issues both with building the query and response times.
Flex GeoServer – WFS Query
The OGC WFS filter looks like this:
Looks simple, but try adding AND OR to this and life becomes very complex. Plus the response times were 20 secs plus, just for this type of simple query. CQL or Common Query Language is a much better way to go. The above query looks like this in CQL:
Much simpler. And by adding the propertyname parameter and limiting these fields, we have a response time of 7 secs!
Contact us to learn more about Openscales.