Re: [Geoserver-users] [Geoserver - REST API] ACL rules delete

2024-01-30 Thread Robin KERDILES via Geoserver-users
ver-users@lists.sourceforge.net < > geoserver-users@lists.sourceforge.net> > *Objet :* [Geoserver-users] [Geoserver - REST API] ACL rules delete > > Hello, > > I'm having issues using the Rest API of Geoserver. > > I tried : > > POST https://geoserver.

Re: [Geoserver-users] [Geoserver - REST API] ACL rules delete

2024-01-30 Thread Robin KERDILES via Geoserver-users
Hello, Shouldn't be this project specific for geoserver cloud ? Regards Le lun. 29 janv. 2024 à 12:39, Alexandre Gacon a écrit : > Hi Robin, > > Could you please open an issue on > https://github.com/geoserver/geoserver-acl/issues? > > Regards > Alexandre > > Le lun. 29 janv. 2024 à 12:37, Rob

Re: [Geoserver-users] [Geoserver - REST API] ACL rules delete

2024-01-29 Thread Olivier Gagnon
-users] [Geoserver - REST API] ACL rules delete Hello, I'm having issues using the Rest API of Geoserver. I tried : POST https://geoserver.**/geoserver/rest/security/acl/rest with JSON Body { "/rest/workspaces/test/**:GET": "ROLE_ADMINISTRATOR" } Work

Re: [Geoserver-users] [Geoserver - REST API] ACL rules delete

2024-01-29 Thread Alexandre Gacon
Hi Robin, Could you please open an issue on https://github.com/geoserver/geoserver-acl/issues? Regards Alexandre Le lun. 29 janv. 2024 à 12:37, Robin KERDILES via Geoserver-users < geoserver-users@lists.sourceforge.net> a écrit : > Hello, > > I'm having issues using the Rest API of Geoserver. >

[Geoserver-users] [Geoserver - REST API] ACL rules delete

2024-01-29 Thread Robin KERDILES via Geoserver-users
Hello, I'm having issues using the Rest API of Geoserver. I tried : POST https://geoserver.**/geoserver/rest/security/acl/rest with JSON Body { "/rest/workspaces/test/**:GET": "ROLE_ADMINISTRATOR" } Works OK DELETE https://geoserver. **/geoserver/rest/security/acl/rest/rest/workspac

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Mike Bundock
I think it would be nice if it behaved as documented. rgds mike On Fri, 17 Dec 2021, 23:50 Alexandre Gacon, wrote: > To me, since a GeoServer instance could serve dozens of datasource in > different ways, a "standard" status check point should not check all the > external resources but only tell

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Francesco Bartoli
Hi, I guess GeoHealthCheck (https://geohealthcheck.org/ ) is what you are looking for, regardless of being in a containerized environment or not. Anyway, I don’t think such a product should be something natively supported by GeoServer. Francesco > Il giorno 17 dic

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Jan Hoskens via Geoserver-users
Thanks Francesco, I'll definitely check that resource. Kind regards Jan Op vr 17 dec. 2021 om 11:59 schreef Francesco Bartoli < francesco.bart...@geobeyond.it>: > Hi, > > I guess GeoHealthCheck (https://geohealthcheck.org/) is what you are > looking for, regardless of being in a containerized en

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Jan Hoskens via Geoserver-users
@Ian sorry, I misunderstood. As said I'm looking for a way to see if the server is healthy and able to respond. It might require a separate aggregation of a number of resources, including the datastore indeed. Or as Alexandre suggests to actually call a resource endpoint WMS/WFS to see if the chain

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Alexandre Gacon
To me, since a GeoServer instance could serve dozens of datasource in different ways, a "standard" status check point should not check all the external resources but only tell you that it is able to provide services. If in your case you need to check that the whole chain is working, I would implem

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Ian Turton
On Fri, 17 Dec 2021 at 10:42, Jan Hoskens wrote: > When using Geoserver in a containerized environment, there should be some > way to monitor the application. Simple liveness would be, can I access the > server throught REST api and get a 200 OK. > > But that is not all. GeoServer is using a DB a

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Jan Hoskens via Geoserver-users
When using Geoserver in a containerized environment, there should be some way to monitor the application. Simple liveness would be, can I access the server throught REST api and get a 200 OK. But that is not all. GeoServer is using a DB and perhaps more external resources, or it might have differe

Re: [Geoserver-users] Geoserver REST api status

2021-12-17 Thread Ian Turton
I'm not sure I'm understanding your problem here, what is wrong with the response you get back? Ian On Fri, 17 Dec 2021 at 07:30, Jan Hoskens wrote: > So what resource should we use if we are running the Geoserver in a > dockerized environment and need Liveness/Readiness probes to see if > ever

Re: [Geoserver-users] Geoserver REST api status

2021-12-16 Thread Alexandre Gacon
Hi Jan, In the GeoNode project, they make a call to the REST API to check if the GeoNode workspace is available: https://github.com/GeoNode/geonode/blob/3e59b936b3ce938f6b6ba4ccfb9ff3a95c068a78/docker-compose.yml#L90 Alexandre Le ven. 17 déc. 2021 à 08:32, Jan Hoskens via Geoserver-users < geose

Re: [Geoserver-users] Geoserver REST api status

2021-12-16 Thread Jan Hoskens via Geoserver-users
So what resource should we use if we are running the Geoserver in a dockerized environment and need Liveness/Readiness probes to see if everything is up and running as it should? Kind Regards, Jan Op do 16 dec. 2021 om 16:39 schreef Ian Turton : > I'd guess there is something missing from the

Re: [Geoserver-users] Geoserver REST api status

2021-12-16 Thread Ian Turton
I'd guess there is something missing from the JSON serializer code that skips or doesn't know about those attributes (but to be honest they are pretty much hard coded as true in the module lookup code so I wouldn't worry about them in general) Ian On Thu, 16 Dec 2021 at 15:25, Jan Hoskens via Geo

[Geoserver-users] Geoserver REST api status

2021-12-16 Thread Jan Hoskens via Geoserver-users
Hi, When using the REST api as described on https://docs.geoserver.org/latest/en/api/#1.0.0/manifests.yaml , I expect to see a status for each module (isAvailable/isEnabled). But I do not receive the suggested response on the page. I should get: {"about": { "status": [ { "module

Re: [Geoserver-users] Geoserver Rest API to add new layer

2019-12-19 Thread Olyster
Hi, I misread your demand : I thought you wanted to upload a single shapefile and in that case, a POST is the way to go according to the doc I sent you. Using Postman PUT to http://server:8080/geoserver/rest/workspaces/worspaceName/datastores/datastoreName/file.shp?filename=test.shp Headers :

Re: [Geoserver-users] Geoserver Rest API to add new layer

2019-12-18 Thread Matt Hakim
Hi Oyster, The documentation you linked indicates 'POST' is invalid for a file.shp upload. And I checked the source code for FeatureTypeController.java, no mapping for a POST request unfortunately. Matt On Wed., 18 Dec. 2019, 2:12 pm Olyster, wrote: > Hi, > > you need to *POST* to the datasto

Re: [Geoserver-users] Geoserver Rest API to add new layer

2019-12-17 Thread Olyster
Hi, you need to *POST* to the datastores. Here's what you need. https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/datastores.yaml -- Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html ___ Geoserver-users mai

[Geoserver-users] Geoserver Rest API to add new layer

2019-12-17 Thread Matt Hakim
I have been investigating using the REST API to upload a new shape file to an existing ‘Directory of spatial files’ datastore. It looks like this is not supported? I am using geoserver 2.15.1. I am doing an HTTP PUT to URL: /geoserver/rest/workspaces/WORKSPACE/datastores/DATASTORE/file.shp Inside

[Geoserver-users] GeoServer REST API: issue with JSON example value of CoverageStores

2019-05-21 Thread Rui Maciel
While browsing through the CoverageStores section of GeoServer's REST API documentation[1] I've noticed that some JSON example values are actually XML with literal newline characters embedded in the string. Please check: * POST /workspaces/{workspace}/coveragestores * PUT/workspaces/{workspac

Re: [Geoserver-users] GeoServer REST API: restrictions on GeoServer object names?

2019-05-06 Thread Rui Maciel
First of all, thanks for taking the time to look into this issue. Clearing up this sort of questions regarding the design is very important to everyone who considers developing a client for GeoServer's REST API. Regarding the restrictions, the info you've provided is quite helpful. Is it poss

Re: [Geoserver-users] GeoServer REST API: restrictions on GeoServer object names?

2019-05-03 Thread Jody Garnett
Some of the restrictions are protocol specific and I am not aware of the OGC documenting everything in one spot. For example: - WFS requires that layer names be good XML types (so you cannot start with a number). Technically you may still be able to generate GeoJSON but not XML output ... - WCS h

[Geoserver-users] GeoServer REST API: restrictions on GeoServer object names?

2019-05-02 Thread Rui Maciel
While browsing through GeoServer 2.15.1 release notes I've stumbled on a bug report (GEOS-9054 ) that mentions that GeoServer's REST API cannot handle certain characters in the names of some GeoServer objects such as layers and feature types

Re: [Geoserver-users] GeoServer REST API:

2019-04-11 Thread Andrea Aime
Hi, it's probably some Spring MVC automatism doing that, picking a suitable content type from the default ones, as the code is returning a response that is plain text without indicating the desired content type for it. Here is the specific example, but I believe all other "POST" responses in the RE

[Geoserver-users] GeoServer REST API:

2019-04-11 Thread Rui Maciel
I've noticed that sending a HTTP POST request to /workspaces with a valid request body document leads GeoServer to return a response that mixes a content-type of 'application/json' but a response body that is not valid JSON (i.e., the text string with the workspace name as specified in the resp

Re: [Geoserver-users] geoserver rest api slow response times

2018-02-09 Thread Andrea Aime
On Fri, Feb 9, 2018 at 3:24 PM, jgzurano wrote: > Hi Andrea, thanks for the quick reply! > > We will look into time enabled layers, I'm not sure that we're using that > feature. > This amount of layers is because our customers have lots of small tiles and > are loading more everyday (around 5k da

Re: [Geoserver-users] geoserver rest api slow response times

2018-02-09 Thread jgzurano
Hi Andrea, thanks for the quick reply! We will look into time enabled layers, I'm not sure that we're using that feature. This amount of layers is because our customers have lots of small tiles and are loading more everyday (around 5k daily). We're thinking about splitting our geoserver installat

Re: [Geoserver-users] geoserver rest api slow response times

2018-02-09 Thread Andrea Aime
Hi, the first question when I see this many layers is... are you sure you really need them? They are completely unrelated to each other? A common case for having this many layers is to have time series of sorts, that's normally handled with one time enabled layer. No matter what you do, the "norma

[Geoserver-users] geoserver rest api slow response times

2018-02-08 Thread jgzurano
Hi, we have a geoserver cluster on amazon ec2 with this specs: m5.2xlarge instances 8 vcpu 32gb mem ssd storage 10 gbit network geoserver version 2.11.4 with jetty JAVA_OPTS=-server -Xms10g -Xmx10g -XX:+UseG1GC -XX:NewRatio=2 data directory: 455707 layers 143625 Stores 12810 styles 1 workspace

Re: [Geoserver-users] GeoServer REST API cURL - add geotiff layer with SRS and default style

2016-01-04 Thread Rahkonen Jukka (MML)
Hi, Because it is REST you can acquire working examples by making the configuration first with GUI and reading what you have with GET. http://localhost:8080/geoserver/rest/workspaces/nurc/coveragestores/worldImageSample/coverages/Img_Sample.xml -Jukka Rahkonen- Little, John wrote: Hi all, I

[Geoserver-users] GeoServer REST API cURL - add geotiff layer with SRS and default style

2016-01-04 Thread Little, John (NRCan/RNCan)
Hi all, I am new to this list and fairly new to GeoServer, so just trying to learn.. I am using GeoServer version 2.6.2 on linux. I am trying to add a geotiff coverage layer using the REST API and have used the two cURL commands shown below (to first add the coveragestore, and then add the layer)

Re: [Geoserver-users] geoserver REST API imagemosaic

2015-01-22 Thread Sabine Ohlendorf
or. Regards, Sabine   Gesendet: Mittwoch, 21. Januar 2015 um 14:00 Uhr Von: "Nicola Lagomarsini" An: "Sabine Ohlendorf" Cc: "geoserver-users@lists.sourceforge.net" Betreff: Re: [Geoserver-users] geoserver REST API imagemosaic Hi Sabine,   sorry for the de

Re: [Geoserver-users] geoserver REST API imagemosaic

2015-01-21 Thread Nicola Lagomarsini
Hi Sabine, sorry for the delay. If you want to harvest a local file from to a GeoServer located into another machine you can use two methods: - Mount a storage pointing to your local machine on the GeoServer machine and harvest the file using the "external.imagemosaic" extension. - Zip t

[Geoserver-users] geoserver REST API imagemosaic

2015-01-16 Thread Sabine Ohlendorf
Hi all,   I am using geoserver 2.6.1 and spent some time on getting used with the REST API. I basically followed REST examples for cURL from here: http://docs.geoserver.org/stable/en/user/rest/examples/curl.html I managed to define and configure a new image mosaic via curl -u admin:geoserver -X

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Christian Mueller
Hi Mauro Thanks for your answers to this thread, all your information is correct :-) Cheers Christian On Thu, Nov 6, 2014 at 3:56 PM, Mauro Bartolomeoli < mauro.bartolome...@geo-solutions.it> wrote: > Hi Benito, > > 2014-11-06 15:44 GMT+01:00 Cosme Benito : > >> Hi Mauro, >> >> Yes you are corr

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Mauro Bartolomeoli
Hi Benito, 2014-11-06 15:44 GMT+01:00 Cosme Benito : > Hi Mauro, > > Yes you are correct, I made that exact mistake and realized soon after > that the Authentication did not work as I thought it would J > > > > I just tried the UserGroupService with a PostGIS database and it seems to > work great

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Cosme Benito
Benito Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] GeoServer REST API Authentication Hi Benito, 2014-11-06 12:55 GMT+01:00 Cosme Benito mailto:cosme.ben...@mapidea.pt> >: I don’t want to have use a master password, I’d rather if each user had their own authenti

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Cosme Benito
Benito Cc: GeoServer Mailing List List; Christian Mueller; Justin Deoliveira Subject: Re: [Geoserver-users] GeoServer REST API Authentication On Thu, Nov 6, 2014 at 2:51 PM, Cosme Benito < <mailto:cosme.ben...@mapidea.pt> cosme.ben...@mapidea.pt> wrote: I am still able to create RES

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Mauro Bartolomeoli
Hi Benito, 2014-11-06 12:55 GMT+01:00 Cosme Benito : > > I don’t want to have use a master password, I’d rather if each user had > their own authentication. The problem is that I don’t want to use > GeoServer’s users, I want to use my application’s users. I would like to > use the credentials sto

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Andrea Aime
On Thu, Nov 6, 2014 at 2:51 PM, Cosme Benito wrote: > I am still able to create REST path rules, and they seem to work fine. > Do they? This is new to me, I know we had to modify our training material around 2.4.x because path rules were not working anymore. Which version are you using? > > >

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Cosme Benito
Behalf Of Andrea Aime Sent: quinta-feira, 6 de Novembro de 2014 12:59 To: Cosme Benito Cc: GeoServer Mailing List List; Christian Mueller; Justin Deoliveira Subject: Re: [Geoserver-users] GeoServer REST API Authentication On Thu, Nov 6, 2014 at 12:55 PM, Cosme Benito mailto:cosme.ben...@mapidea.pt

Re: [Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Andrea Aime
On Thu, Nov 6, 2014 at 12:55 PM, Cosme Benito wrote: > Hello, how are you? > > > > I’m trying to restrict the access to the REST API by I’m unsure what is > the best way. > The REST API uses the authentication system like anything else, and requires a user to be an administrator to allow access.

[Geoserver-users] GeoServer REST API Authentication

2014-11-06 Thread Cosme Benito
Hello, how are you? I'm trying to restrict the access to the REST API by I'm unsure what is the best way. I don't want to have use a master password, I'd rather if each user had their own authentication. The problem is that I don't want to use GeoServer's users, I want to use my applicatio

[Geoserver-users] Geoserver REST API modifies PUTted and POSTed styles

2013-09-09 Thread Carsten Klein
Hi there, it turned out that Geoserver transparently modifies styles provided in SLD format when these are PUTted or POSTed through the REST API. Actually, we are using version 2.3.5 on Debian 6 64 Bit. Remark: I did not find any way to get a JIRA account for filing this bug, so I guess sending

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Andrea Aime
On Wed, Jul 17, 2013 at 2:00 PM, Krystian wrote: > thank you for quick replay. > > Yes, i know I can do it via WMS interface, but this solution would need > some > server-based coding for parsing XML response and so on... and my > application > is pure JavaScript and I've just implemented REST API

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Krystian
thank you for quick replay. Yes, i know I can do it via WMS interface, but this solution would need some server-based coding for parsing XML response and so on... and my application is pure JavaScript and I've just implemented REST API and just wondering how to connect it to geoserver... so if ge

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Jonathan Moules
Hi Krystian, That should be possible with a standard WMS request. For example the following creates a PNG of our 1:50k OS raster: http://wppgeog3:8082/geoserver/OS_Rasters/wms?service=WMS&version=1.1.0&request=GetMap&layers=OS_Rasters:5_Colour&styles=&bbox=40.0,22.0,46.0,32.0

Re: [Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Andrea Aime
On Wed, Jul 17, 2013 at 1:25 PM, Krystian wrote: > does anybody know, can I retrieve by REST service in GeoServer an raster > representation of layer? Just like in for ex. ArcGIS REST Api: when I send: > > > MapServer/export?dpi=96&transparent=true&format=png8&bbox=338477.336%2C360036.3484999

[Geoserver-users] geoserver REST api, get map raster

2013-07-17 Thread Krystian
does anybody know, can I retrieve by REST service in GeoServer an raster representation of layer? Just like in for ex. ArcGIS REST Api:when I send: MapServer/export?dpi=96&transparent=true&format=png8&bbox=338477.336%2C360036.3484996%2C619993.648%2C548154.8615&bboxSR=2180&imageSR=2180&size=

Re: [Geoserver-users] GeoServer REST API and DataStore/Coverages extensions

2013-06-05 Thread Frank Gasdorf
In addition I'd like to provide the stack-trace for the REST request (GET) for the successful configured (GeoServer UI) imagepyramid coverage store : Request : http://localhost:8080/geoserver/rest/workspaces/nasa/coveragestores/BlueMarble/coveragestores/BlueMarble.html provides the following outpu

[Geoserver-users] GeoServer REST API and DataStore/Coverages extensions

2013-06-05 Thread Frank Gasdorf
Hello everybody, while I try to setup a GeoServer instance I run into problems to upload and configure ImagePyramid's. I already have a pre-generated folder structure with tiff and properties files for 8 different scales. I read the docs for REST API and have seen, that its possible to configure

Re: [Geoserver-users] Geoserver REST API: re-publishing a style does not work..problem of cache?

2012-07-04 Thread Emmanuel Blondel
Thanks for your answer, Yes this is what i did. I added purge = true. It seems there is a problem in the project library that i'm using. Actually it does not purge anything since my SLD file is still there. I will let you know where was the problem. Cheers Emmanuel Le 03/07/2012 21:59, Andre

Re: [Geoserver-users] Geoserver REST API: re-publishing a style does not work..problem of cache?

2012-07-03 Thread Andrea Aime
On Tue, Jul 3, 2012 at 2:45 PM, Emmanuel Blondel < emmanuel.blond...@gmail.com> wrote: > Dear all, > > I am using the Geoserver REST API, to publish layers and styles. > I performed tests to publish one style using POST, and then to remove it. > > Then, if i tried to publish again the style with

[Geoserver-users] Geoserver REST API: re-publishing a style does not work..problem of cache?

2012-07-03 Thread Emmanuel Blondel
Dear all, I am using the Geoserver REST API, to publish layers and styles. I performed tests to publish one style using POST, and then to remove it. Then, if i tried to publish again the style with the same name, I get an error: Method failed: HTTP/1.1 403 This occurs while the style was remove

[Geoserver-users] Geoserver Rest API : Add Shapfile from Existing Shapefile Datastore

2011-12-14 Thread Ravi Pavuluri
Hi All, I have a shapefile directory datastore already created with GeoServer 2.0.2 and would like to publish one of the shapefiles within this datastore using Rest API. As per documentation from this page(http://docs.geoserver.org/2.0.x/en/user/extensions/rest/rest-config-examples-curl.html),

Re: [Geoserver-users] GeoServer Rest API - 405 error - rest-2.0.2.jar is installed

2011-03-22 Thread tisham
Hi David, You will need to install the rest-config module. Depending on the version of Geoserver you are running you have to pick up the rest-config from Geoserver 2.0.2 download page. http://downloads.sourceforge.net/geoserver/geoserver-2.0.2-restconfig-plugin.zip Glad to see more Geoserver use

Re: [Geoserver-users] GeoServer Rest API - 405 error - rest-2.0.2.jar is installed

2011-03-21 Thread David Winslow
Do you have restconfig.jar ? rest.jar is not the configuration API, it is just generic rest routing support. -- David Winslow OpenGeo - http://opengeo.org/ On Fri, Mar 18, 2011 at 11:10 AM, wrote: > Hi all > > > > I am interested in using the GeoServer Rest API and continually get the > follow

[Geoserver-users] GeoServer Rest API - 405 error - rest-2.0.2.jar is installed

2011-03-17 Thread David.Miron
Hi all I am interested in using the GeoServer Rest API and continually get the following error: curl -u admin:geoserver -v -XPOST -H "Content-type: text/xml" -d "acme" http://localhost:8080/geoserver/rest/workspaces * About to connect() to localhost port 8080 (#0) * Trying 127.0.0.1... conne