[OpenLayers-Users] creating a new layer in database
Diego Guidi
diegoguidi at gmail.com
Wed Nov 20 02:53:56 PST 2013
On Wed, Nov 20, 2013 at 11:48 AM, pankaj123
<pankaj.bansal.jiit at gmail.com> wrote:
> Please help me. I need this ASAP.
Using openlayers directly you can't do this:
You need to call from openlayers some server-side code (i.e. java or
c# or whatever you wanna use) that, in order:
1. enstablish a connection to postgres db
2. launch a series of sql commands that create a table, fields,
indices and so on
3. call the geoserver rest api and configure geoserver accordingly:
http://docs.geoserver.org/2.0.0/user/extensions/rest/index.html
not the easier thing to do
Diego Guidi
More information about the Users
mailing list