Just be careful about the GML and KML parsing in OpenLayers. It seems
not standard OGC. AFAIT, only WKT and GeoJson seems comply to OGC.

I am trying to pass Spatialite output query to OpenLayers canvas, only
WKT works and GeoJSON seems OGC format. GML and KML seems with added
cosmetic format.

Have look at the Vector format.html example to see what I mean. Try to
pass some data in the input textarea. Use WKT first, then hover to the
polygon, line, etc. to see the various output format.

http://openlayers.org/dev/examples/vector-formats.html

Noli







On 6/29/11, Ivan Grcic <[email protected]> wrote:
> Hi Gary, of course its possible.
>
> You have to make a GFI request  with parameter
> info_format=application/vnd.ogc.gml , then do the parsing of the
> features by yourself using Openlayers GML parser:
> http://osgeo-org.1803224.n2.nabble.com/parse-gml-from-WMS-GetFeatureInfo-td1828925.html
>
> (you can also check this for some guidance
> http://openlayers.org/dev/examples/KMLParser.html)
>
> Cheers,
> Ivan
>
> On Tue, Jun 28, 2011 at 6:22 PM, Gary Nobles <[email protected]> wrote:
>> ok this is me being lazy but is their a simple way to do it in openlayers?
>> some kind of filter???
>>
>> I will go look into gfi templates...
>>
>> --
>> View this message in context:
>> http://osgeo-org.1803224.n2.nabble.com/getfeature-info-from-a-single-column-how-to-filter-tp6525030p6525543.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>
>
>
> --
> -------------------------------------------------------
> Ivan Grcic
> GeoSolutions S.A.S.
> Software Engineer
>
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://twitter.com/geosolutions_it
> http://www.youtube.com/user/GeoSolutionsIT
>
> -------------------------------------------------------
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to