Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am working on project that we create one map ant editing toolbar. Then by using that editing tool bar we can draw point, line, polygon on the map. Next we are converting the line, point, polygon objects into coordinates using geometry.toString() function. After that i want to save that coordinates in postgres. I am not able to come out from this dig. If you know the route please let me know. I will follow the steps.

Regards, Kiran

share|improve this question

1 Answer 1

If you are using OpenLayers I'd suggest using Geoserver for handling the connection to Postgis.

Related questions:

Here is a how the architecture would look like (just with Geoserver in the Middle Tier):

alt text

share|improve this answer
    
k but which function we have to use in postgis? –  kiran Jan 20 '11 at 9:59
    
You don't use any PostGIS functions directly. Geoserver takes care of it. –  underdark Jan 20 '11 at 11:42
    
with the advantage that if you decide to switch databases or WFS-T servers later you don't need to change the client. Open Standards - got to love them. –  iant Jan 20 '11 at 15:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.