[OpenLayers-Users] insert new geomtery attributes

Andreas Hocevar ahocevar at opengeo.org
Wed May 19 04:14:29 EDT 2010


On May 19, 2010, at 00:46 , beppe wrote:

> Hi all,
> I'm not sure to understand how to insert new geometry and pass
> attributes to db via form...
> So, I can add a new geometry (wfs-t) using "OpenLayers.State.INSERT", ok
> but I'd want also open a popup with a form to compile (with select, text
> input, check box ...) onclick event
> 
> Some tips?

JavaScript and/or your favorite JS framework (JQuery, Ext JS) is your friend. Or have a look at GeoExt (http://geoext.org/) and the FeatureEditing ux (http://trac.geoext.org/wiki/ux/FeatureEditing).

Regards,
Andreas.

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list