Hi paolo.

1. Write an ajax request to a php page returning a json or xml formatted data. 
Or simply any other data format that others might prefer like kml etc.

2. Ur formatted data must contains ur deserialized wkt.

3. Upon receiving the ajax response, translate it back in javascript. then 
create ur features on the map.

4. U can write ur own function for the above steps and load it at body onload 
event.

Hope it helps,

remi

-----Original Message-----
From: snuffer892
Sent:  09/09/2010, 11:42  pm
To: [email protected]
Cc: 
Subject: [OpenLayers-Users] Deserialize WKT



Hello everyone,
thanks to your previous help I reached the first goal ... now I need a last
help:
now that I'm able to create a map where users can enter, and record in a
mysql database, geometry in WKT format ... how can I create a layer in which
displays the geometries included?
I created the .php query, but I don't understand how to integrate it into
the .html file.
Thank you in advance
Paolo
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Deserialize-WKT-tp5514985p5514985.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

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to