[OpenLayers-Users] how to save polygon in database (postgresql)
aaliya
goyaladiti10 at gmail.com
Thu Oct 25 01:26:21 PDT 2012
I had a look to both of them but it is still not working. here is my code
do have a look.
Problem is that whatever line, polygon and point i draw I do get a alert
msg saying saved but as soon as I relod the application all the polygons,
line or points vanishes.
On Thu, Oct 25, 2012 at 1:51 PM, Imran Rajjad [via OSGeo.org] <
ml-node+s1560n5011121h8 at n6.nabble.com> wrote:
> Hi,
>
> Take a look at following
>
> http://openlayers.org/dev/examples/wfs-protocol-transactions.html
>
> http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html
>
> regards,
> Imran
>
> On Thu, Oct 25, 2012 at 9:41 AM, aaliya <[hidden email]<http://user/SendEmail.jtp?type=node&node=5011121&i=0>>
> wrote:
>
> > hi,
> > I m newbie to open layers I have developed an application and in that I
> have
> > added WFS layers and options to draw point, polygon and line. Now I want
> to
> > save this polygon in database which is postgresql 9.0. i used save
> > strategy() but it doesn't save polygon to database. I am using
> openlayers
> > 2.12, geoserver and postgis 2.0.
> >
> > Basically I want to do WFS-T please guide how can I do this.
> >
> >
> >
> > --
> > View this message in context:
> http://osgeo-org.1560.n6.nabble.com/What-is-the-featurePrefix-tp5010713p5011044.html
> > Sent from the OpenLayers Users mailing list archive at Nabble.com.
> > _______________________________________________
> > Users mailing list
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5011121&i=1>
> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
> --
> I.R
> _______________________________________________
> Users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5011121&i=2>
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011121.html
> To unsubscribe from how to save polygon in database (postgresql), click
> here<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5011044&code=Z295YWxhZGl0aTEwQGdtYWlsLmNvbXw1MDExMDQ0fDgyNDIxMjkz>
> .
> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Thanks and Regards
Aditi Goyal
B.tech (EC) IV Year
Banasthali University
Aditi.js (51K) <http://osgeo-org.1560.n6.nabble.com/attachment/5011122/0/Aditi.js>
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/how-to-save-polygon-in-database-postgresql-tp5011044p5011122.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121025/8f87cff0/attachment.html>
More information about the Users
mailing list