[OpenLayers-Dev] convert SQL statement to OGC filter

Gabriel Nolasco nolasco_gabriel at yahoo.com.br
Tue Mar 16 08:39:23 EDT 2010


This is not an OpenLayers specific question, but I'll try my luck in this large GIS developers community...
I'm trying to convert a SQL statement into an OGC filter.
My approach was to use javascript string methods to match the operators, create the respective OpenLayers filters and then use OpenLayers Format Filter to write the OGC filters.
This is working fine for simple statements but very buggy when the complexity of the statements increases.
Does anyone know a better way to perform it using only javascript?

Thanks in advance,
Gabriel Nolasco

Veja quais são os assuntos do momento no Yahoo! +Buscados
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100316/43d7b31b/attachment.html

More information about the Dev mailing list