[OpenLayers-Users] Save polyline drawn in to database

Kris Geusebroek kgeusebroek at xebia.com
Wed Feb 3 03:31:34 EST 2010


Hi,

Did you look at
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/wfs-t.html ?
I'm using it as a base for our drawing app where you can draw points,
lines and polygon's.
With the WFS-T it's send to geoserver which stores it in an oracle
spatial table

If you need more info feel free to contact me

Cheers Kris


-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of truongpm
Sent: Wednesday, February 03, 2010 2:49 AM
To: users at openlayers.org
Subject: [OpenLayers-Users] Save polyline drawn in to database


Hello, 
I want to create function that draw a polyline in to new feature class
of
map and save this line in to database.
My ideal is similar with this tutorial.
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/vector-format
s.html

It will generate data at KML format and can use it to save to database.
I have some question:
1. In above example, the KML string generate when select line which just
draw. How could I change it to automatically when draw line?
2. Is there any other ideal about how to draw polyline and save it into
database (postgres or mysql)?
3. How to edit polyline which display from database?

Thank for your attention and sorry about my language skill. 
-- 
View this message in context:
http://n2.nabble.com/Save-polyline-drawn-in-to-database-tp4505039p450503
9.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list