[OpenLayers-Users] which is the best way to display a set of points coming from database?

Alberto Valente alb.valente at gmail.com
Tue Aug 31 10:29:54 EDT 2010


Hello everybody,

I need to display a set of points that comes from a query to a database.
The information associated with the point is simply ID, X_COORD, Y_COORD.
I can write a php page that executes the query and I can get the results in
javascript using a xmlhttprequest (ajax).
I need to show them on my map and if clicked they should display a popup
with ID and coords.
What is the best way for storing/formatting/viewing those points?

pure text and translate them into point/vector features?
georss?
geojson?
kml?

I cannot store the result of the query in a file e.g. result_points.kml, I
need to handle them "on the fly".

I know openlayers has many options available but I'd like to know from
everyday users which is the best (in terms of easiness, available options,
etc.)

thank you in advance

alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100831/5c57c873/attachment.html


More information about the Users mailing list