Re: [Geoserver-users] Geoserver+postgis: how to complete creating database via REST API?

2018-07-13 Thread Andrea Aime
Hi, my guess is that the REST API is making no attempt at using the store, and thus, does not create an instance of it (which is what makes the factory create the store and the actual database as a side effect). Thinking out loud, can you try listing the feature types in the store, with the

Re: [Geoserver-users] Geoserver+postgis: how to complete creating database via REST API?

2018-07-13 Thread Steve Omondi
Hi Miodrag, I have a related issue but in my case I'm creating datastores of already existing postgis databases both Postgis and Postgis (JNDI). *My Steps* I create the workspaces via REST and its okay. Then when I create ImagePyramids stores via REST again in the above workspace it works

[Geoserver-users] Geoserver+postgis: how to complete creating database via REST API?

2018-07-11 Thread Miodrag Vidanovic
Hi everyone! I'm using geoserver 2.13.1 with postgres 9.5 and postgis 2.4.2. I am trying to use REST api to create workspace (works) and in it a datastore of postgis type. I have already prepared a template database in postgres and trying to use it here (this is the xml body of the post request