[OpenLayers-Users] Re: how to add php/postgresql query result as Geojson layer to openlayers

Gabriele Seitz ml-seitz at web.de
Tue Oct 11 02:36:53 EDT 2011


Hi,

I never tried ist myself before, but there is a GeoJSON Example at
http://www.openlayers.org/dev/examples/geojson.html

Basically yuo should use  var geojson_format = new
OpenLayers.Format.GeoJSON();

Hope this helps.

Gabriele

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-add-php-postgresql-query-result-as-Geojson-layer-to-openlayers-tp6876808p6879775.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list