[OpenLayers-Users] how to save polygons or lines

R. Ortner reinhard.ortner at edu.fh-kaernten.ac.at
Wed Oct 17 07:15:23 EDT 2007


Thats basically what i was searching but is it possible to write those data
into my postGIS database and load it from there? bec. i have not really an
idea what that featureserver is and how i can use it according to my postgis
db!?


Christopher Schmidt-4 wrote:
> 
> On Mon, Oct 15, 2007 at 12:51:27AM -0700, R. Ortner wrote:
>> 
>> i addet the EditingToolbar to my map and now i like to save the drawn
>> polygons and lines to a file so that i can racall them when i reload the
>> map. is that possible?
> 
> It's possible to serialize features to a number of formats:
> 
> http://openlayers.org/dev/examples/vector-formats.html
> 
> Once you do, it's possible to push that data up to a server using
> OpenLayers.Ajax.
> 
> Using that mechanism, you can save your data to the server, like
> the FeatureServer demo does: 
> 
> http://featureserver.org/demo.html
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-save-polygons-or-lines-tf4625017.html#a13251374
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list