[Geoserver-users] TR : How to download a pdf layer via rest API

2021-08-25 Thread Olivier Gagnon
Andrey's response ... Envoyé à partir d’Outlook De : Андрей Метелкин Envoyé : 25 août 2021 14:47 À : Olivier Gagnon Objet : Re: [Geoserver-users] How to download a pdf layer via rest API Hello! You helped me a lot! Thank you very

Re: [Geoserver-users] How to download a pdf layer via rest API (geoserver)

2021-08-25 Thread Ian Turton
That is exactly the link I sent in the last email. Ian On Wed, 25 Aug 2021, 18:14 Андрей Метелкин, wrote: > Hello! Thank you very much for the answer! > I will try to explain what I want. > Using a browser, I can go to the section: > [image: image.png] > And manually download the object in any

[Geoserver-users] TR : Geoserver ResourceId (rid) filter

2021-08-25 Thread Olivier Gagnon
The response from Arjun ... Envoyé à partir d’Outlook De : Arjun Dongre Envoyé : 25 août 2021 11:17 Objet : Re: [Geoserver-users] Geoserver ResourceId (rid) filter Thank you so much. I copied the view statement from postgres to

Re: [Geoserver-users] How to download a pdf layer via rest API

2021-08-25 Thread Olivier Gagnon
Hi, you can issue a GetMap request using the format parameter a follows : format=image%2Fjpeg (as in the url generated when you select JPEG using a browser) Just call this url and you'll get the image (jpeg) you want. You can change the bbox parameter depending on the zone you want to be

Re: [Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Jody Garnett
Please remember to include the user list in communication, if you are unable to participate in public (some folks have restrictions) there are a number of commercial providers offering support (including my employer GeoCat). GeoServer speaks several protocols: - WMS for web map services which is

[Geoserver-users] How to download a pdf layer via rest API

2021-08-25 Thread Андрей Метелкин
Hello! I will try to explain what I want. Using a browser, I can go to the section: [image: image.png] And manually download the object in any format to your local PC. For example: [image: image.png] The file will be saved on my PC. I want to understand how to do this through the API. Thank you

Re: [Geoserver-users] How to download a pdf layer via rest API (geoserver)

2021-08-25 Thread Ian Turton
The REST API is for administrative purposes not to access data - to download a PDF of a WMS layer you need to use curl " http://localhost:8080/geoserver/wms?service=WMS=1.1.0=GetMap=topp%3Astates=-124.7314220001%2C24.955967%2C-66.969849%2C49.371735=768=330=EPSG%3A4326==application/pdf " Ian

Re: [Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Jody Garnett
If you leave the filter out it will request all features. The filter forms an expression, so you can select all the content meeting a specific conduction. The ResourceId or FeatureId is a specific expression where you are selecting a single feature. Perhaps you are selecting a feature in your

[Geoserver-users] How to download a pdf layer via rest API (geoserver)

2021-08-25 Thread Андрей Метелкин
Good day! Tell me please: how to download a pdf layer via rest API. To concretize, I just need to download in PDF or JPG for example a layer with the name: topp: states I know how to look at the list of layers: curl -u test: test -XGET http://10.10.1.144:8080/geoserver/rest/layers But how to

Re: [Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Olivier Gagnon
Hi, Instead of publishing a feature type directly from the store, use a sql view. That way you can specify the ID column by selecting the column name as Identifier. You'll be able to rename fields using sql AS keyword, perform joins, etc ... All the power of SQL. Have a look at this :

Re: [Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Arjun Dongre via Geoserver-users
Sorry, to specify, we are publishing a view from postgis. I don't think you can set a "primary key" in a postgres view. I was assuming you could select the field in the geoserver layer settings. On Wed, Aug 25, 2021 at 10:23 AM Arjun Dongre wrote: > This is exactly what is happening, how do I

Re: [Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Arjun Dongre via Geoserver-users
This is exactly what is happening, how do I specify the unique id field? On Wed, Aug 25, 2021 at 10:07 AM Olivier Gagnon wrote: > Hi, > > Geoserver will generate a distinct ID for all features for you if you > don't specify the field to use as ID while using a sql view as source. > > If you

Re: [Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Olivier Gagnon
Hi, Geoserver will generate a distinct ID for all features for you if you don't specify the field to use as ID while using a sql view as source. If you don't specify it, Geoserver will generate an ID of this format : layerName.uid (ex: LayerName.fid-1e25e6bb_17b7379da69_-720a) If you specify

[Geoserver-users] Geoserver ResourceId (rid) filter

2021-08-25 Thread Arjun Dongre via Geoserver-users
Good morning, Im running into an issue with ArcGIS Pro trying to retrieve WFS data through http post method. The program is trying to request data from our geoserver instance with a filter on rid: I see in the OGC 2.0 specifications that the server should specify a resource id for

Re: [Geoserver-users] geoserver/saml/metadata endpoint

2021-08-25 Thread Andrea Aime
Alessandro, the module is a "community module ", which among other things, means there is no appointed maintainer. Looking at the short module history ,

Re: [Geoserver-users] geoserver/saml/metadata endpoint

2021-08-25 Thread Alessandro Ferrucci
Hello - Just wondering if anyone has any insight into this? Thank you On Mon, Aug 23, 2021 at 10:24 PM Alessandro Ferrucci < alessandroferru...@gmail.com> wrote: > Hello - > > Normally when developing Spring SAML SP's, Spring creates an endpoint that > outputs the SP's metadata XML under