Skip to main content

Questions tagged [rest]

Representational State Transfer (REST). The name "Representational State Transfer" is intended to evoke an image of how a well-designed Web application behaves: a network of web pages (a virtual state-machine), where the user progresses through the application by selecting links (state transitions), resulting in the next page (representing the next state of the application) being transferred to the user and rendered for their use.

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Error with "update features" REST end request

When trying to use update feature request on one of our standalone server. The operation fails with two different errors. On UAT On PROD Editing works in ArcGIS Pro, fails only through REST request.
Yogesh Chavan's user avatar
0 votes
0 answers
15 views

OIDC logging for the open id

Based on my last question which was Using openid-connect access token and getting 403 in postman and 401 in logs I enabled some more login: 19 Jul 16:46:11 DEBUG [context....
yoda's user avatar
  • 101
0 votes
1 answer
39 views

GeoServer, SLD version is changed during download

I have a SLD (version 1.1.0) on GeoServer (version 2.24.2) <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" ...
JA_LL's user avatar
  • 29
2 votes
1 answer
87 views

Getting a workspace's namespace via GeoServer REST API

I have set up a workspace named "foo" and set its namespace to "bar". How can I find out its namespace setting via the REST API? The information is not included in a call to /...
bugmenot123's user avatar
  • 11.2k
1 vote
0 answers
74 views

REST API: Find Point Features in one layer that intersect with Polygon Features in another layer

I have a point layer and I have a polygon layer. I am looking for a way, using REST API for an ArcGIS Map Service, to pull all point features that fall within (intersect) any polygon features in the ...
Tom Lewis's user avatar
0 votes
0 answers
39 views

ArcGIS Server Module - Service Manifest XML

I'm trying to access the service manifest XML (the same that appears via "https://..../arcgis/admin/services/folder/.../iteminfo/manifest/manifest.xml" through the arcgis.gis.server module. ...
mapface's user avatar
  • 431
1 vote
0 answers
38 views

Filter a REST feature service by area or attribute with ArcGIS Pro

I have access to a REST service that covers the entire United States with tens of thousands of individual polygon features. Can I filter this down to a geographic region or a specific attribute? As ...
GISKon's user avatar
  • 131
0 votes
1 answer
26 views

ArcMap freezes trying to access REST dataset

Attempting to access this data set via REST: http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Property/MapServer Steps: Add ArcGIS Server Use GIS Services Enter the URL (above) Finish ...
Sean's user avatar
  • 29
0 votes
1 answer
216 views

Creating store with COG/GS GeoTIFF through REST API

I am currently facing challenges with setting up a Cloud Optimized GeoTIFF (COG) store in GeoServer using a Python script. I have been successful in creating a COG store manually through the GeoServer ...
Oddbjørn Larsen's user avatar
0 votes
0 answers
93 views

How to add to Mapbox GL JS ArcGIS Map Service REST API

I am working on adding an ArcGIS Map Service to an automatically built map by QGIS2Web plugin for the web using MapBox GL JS. I would like to find a resource or snippet that actually works for ...
js_drone's user avatar
0 votes
1 answer
73 views

Is Esri REST API the same as REST API [closed]

Can an Esri REST API function in QGIS connect to a (non-Esri) REST API or are they significantly different and therefore won't work?
LiMoNiZeR's user avatar
0 votes
0 answers
29 views

ESRI Feature Layer Labels from REST endpoint

I am using folium and calling this layer: https://spatial-gis.information.qld.gov.au/arcgis/rest/services/PlanningCadastre/LandParcelPropertyFramework/MapServer/19 What am I hoping to do is use the ...
mapface's user avatar
  • 431
0 votes
1 answer
188 views

Issues setting up MapProxy to download tiles from an ArcGIS REST Service

I am trying to set up MapProxy to download the tiles from an ArcGIS REST service. My yaml configuration is the following: services: demo: wms: md: title: "ArcGIS REST Service&...
Martin's user avatar
  • 1,273
0 votes
1 answer
53 views

Update GeoServer layer style over the API does not work when styles have the same name

So here's my scenario: I have a working integration that syncs layers and styles to geoserver without issues. This is working for a long time, all the calls succeeds as expected. When I have the ...
George Silva's user avatar
  • 6,310
0 votes
1 answer
116 views

Find all ArcGIS REST servers that exist

Is there any way to get a list of all the URLs of all the ArcGIS REST servers that exist?
RobertoClaudio's user avatar
1 vote
0 answers
117 views

How to get data from ArcGIS webapp into QGIS

I need this map in QGIS https://muskoka.maps.arcgis.com/apps/webappviewer/index.html?id=86bcd910216c409a9538ef7bf599b154 I found a REST server https://muskoka.maps.arcgis.com/sharing/rest/content/...
alex6999's user avatar
0 votes
1 answer
353 views

How create an S3 coverage using the GeoServer REST API?

I am trying to create a coveragestore and coverage for an S3 based COG GeoTIFF. I can successfully create the coveragestore, but cannot figure out how to create a coverage using that coveragestore. I ...
Lisa Stillwell's user avatar
1 vote
0 answers
470 views

Expose list of GeoJSON through REST API in a Java Spring Boot project

We need to expose APIs which would list uploaded GeoJSONS at S3 bucket for a particular user. I plan to take below steps Storing all GeoJSONs to S3 bucket As USER logs in Read his GeoJSONs from S3 ...
Aditya Rewari's user avatar
1 vote
1 answer
432 views

Adding a REST API GET response (JSON array containing individual GeoJSON features) as a new vector layer in QGIS

I'm trying to add a new vector layer in QGIS from a REST API endpoint. This endpoint actually returns a JSON array containing individual GeoJSON features, e.g.: https://api.sharedmobility.ch/v1/...
swiss_knight's user avatar
  • 10.7k
0 votes
1 answer
70 views

GeoServer: Unable to publish a PostGIS table successfully via REST or WebUI

I have a GeoServer Version 2.21-CLOUD. Data is a RDS instance flowing through JDBCStore. Tring to publish a Layer using a REST interface, but I keep getting the below error : /workspaces/gis-data-...
shailesh gavathe's user avatar
0 votes
1 answer
129 views

How do I put live updates into GeoServer

I have a GeoServer with all of the static maps, stores, layers, etc already. How can I dynamically (at runtime, ideally via REST) add / remove features so they are added / removed from maps served by ...
Dave's user avatar
  • 1
2 votes
1 answer
409 views

What is the difference between services.arcgisonline.com and server.arcgisonline.com?

Both URLs provide the same list of available basemaps. Additionally, basemaps from either site have the same visual quality and draw speed. For example, the NatGeo World Map can be accessed either at:...
Stu Smith's user avatar
  • 8,314
0 votes
1 answer
1k views

GeoServer REST API - curl example for creating ImageMosaic

Does anyone have a curl example for using the GeoServer REST API to create an ImageMosaic? The rasters (granules?)that I want to use local on the GeoServer file system. It work through the UI ...
LisaStillwell's user avatar
2 votes
2 answers
1k views

reading geometries from a web service in python

I have some code that connects to a gis server, esr rest service, and returns the geometries of the features on that layer. I can pick html, json, geojson, kmz, and pdf as returns and I can export the ...
MrKingsley's user avatar
  • 1,443
1 vote
0 answers
503 views

Connect A 3rd Party API to ArcGIS Online [closed]

I am making a REST API that provides lat-long coordinates. I would like to create a pipeline to feed this API into an ArcGIS Online map. Is this doable? I am a programmer. Can ArcGIS online parse a ...
Steve Scott's user avatar
1 vote
3 answers
1k views

Adding vector layer feature from REST API URL (HTTPS) in QGIS

I'm simply trying to import this feature directly into QGIS 3.16.3-Hannover as a new vector layer: https://api3.geo.admin.ch/rest/services/api/MapServer/find?layer=ch.swisstopo.swissboundaries3d-land-...
swiss_knight's user avatar
  • 10.7k
2 votes
0 answers
81 views

REST API table.export to Google Drive

I tried to export a table data to google drive with REST API. The response showed succeeded but I didn't see the file in my Google Drive folder. When I tried export to Google Cloud, it worked. I don't ...
Eric Wang's user avatar
4 votes
1 answer
467 views

How to extract GeoServer usage details using REST API?

I am using GeoServer 2.19.0 version on CentOS along with monitor extension. Wanted to fetch certain details on daily basis (such as what are the top 5 map requests ?, How many users accessing ...
Sunil's user avatar
  • 4,763
1 vote
1 answer
184 views

How to add WMS to QGIS or any client

I'm trying to get this dataset. It's a bit confusing with the proxy on the front of it. Seems like QGIS does not like the domain infront of the ArcGIS Server. http://gismaps.co.sangamon.il.us/tpv/...
AdamGIS's user avatar
  • 149
1 vote
1 answer
1k views

How to change the service definition of an ArcGIS Online layer via python?

The help file at https://support.esri.com/en/technical-article/000012383 shows how to (manually) update a layer's definition in ArcGIS Online, in order to increase its maxRecordCount. How can I ...
Stephen Lead's user avatar
  • 21.2k
1 vote
0 answers
346 views

How to upload layer's metadata in Geonode using REST API?

I want to upload Geonode Metadata to Geonode using a REST API. I have succesfully created my own custom template for my layer at Editing Tools> Wizard>Dataset Attributes, but I would like to do ...
A.Ktns's user avatar
  • 111
2 votes
0 answers
521 views

Batch geocode addresses using a REST API (ArcPy, CSV, Server)

My stand-alone Python script tries to geocode a CSV file of addresses. The script successfully geocodes this CSV file when using the *.loc file for this locator but not the published REST API. ArcGIS ...
Bill's user avatar
  • 91
3 votes
1 answer
226 views

Unable to select layers for intersect in QGIS

I have a series of buffers around points that I want to intersect with FEMA's National Flood Hazard Layer. My goal is to find out which of the buffered points fall within 1% and 0.2% flood chance ...
DK Kennedy's user avatar
1 vote
1 answer
1k views

Enable a GeoServer OWS WFS Service via REST

I am trying to activate a GeoServer OWS (WFS) service via the REST interface for a workspace. In the GeoServer admin interface, there are two boxes to tick for enabling a service manually. One in the &...
ulrich's user avatar
  • 1,170
1 vote
1 answer
101 views

How to get list of xslt files from geoserver using rest api

I am trying to get list of all XML and XSLT files from GeoServer using REST API. I am using path: my_geoserver/geoserver/rest/services/wfs/transforms and code: request_url = server + "/geoserver/...
ncica's user avatar
  • 942
-1 votes
1 answer
1k views

Querying a database/REST API

I cannot figure out how to use QGIS to query the database at this link: https://www.ncdc.noaa.gov/swdiws
Jillian's user avatar
2 votes
2 answers
2k views

Adding a geopackage (gpkg) to GeoServer through REST API

I'm trying to use the REST API to upload a GPKG file (SQLite with vector data) into GeoServer with curl but I always get Error auto-configuring coverage. The (wrong) command I'm currently using is ...
Diego's user avatar
  • 81
0 votes
1 answer
528 views

Invoke an HTTP request when AGOL features are edited?

Is it possible to automatically invoke an HTTP request when features are created/updated/deleted in an AGOL feature layer? For example, when a feature is updated, generate an HTTP request with these ...
User1974's user avatar
  • 1,222
2 votes
1 answer
178 views

Opening vector layer via URI with spaces

I try to open a Pelias REST API link that returns GeoJSON with add vector layer (Ctrl+Maj+v) in QGIS. If i try http://localhost:4000/v1/search?text=belgium, it's ok. If i try http://localhost:4000/v1/...
jlSta's user avatar
  • 1,096
1 vote
0 answers
401 views

Why does GeoServer (UI) not refresh the layer after a succesfull REST PUT?

I have a layer configuration in Geoserver (space1:my_layer) which I want to change. I change the layer via REST PUT on http://localhost/rest/workspaces/space1/datastores/store1/featuretypes/my_layer ...
Hannes Smit's user avatar
0 votes
0 answers
108 views

Layer not completely drawing in ArcGIS published service

I am publishing a service and one of my polygon feature layers is not completely drawing when viewing the published data through ArcGIS REST API. All features within this feature class are drawing ...
A. S.'s user avatar
  • 97
0 votes
1 answer
304 views

GeoServer REST API: How to get list of workspaces by username

Is it possible to get list of available workspaces and list of data stores in some workspace for some specific user with GeoServer REST API by sending request with admin user credentials?
Stranger_tm's user avatar
1 vote
0 answers
269 views

How to optimize API calls for a large dataset using Python?

Objective: Send a list of addresses to an API and extract certain information(eg: a flag which indicates if an address is in a flood zone or not). Solution: Working Python script for small data. ...
shockwave's user avatar
  • 111
-1 votes
1 answer
97 views

Creating ISO 19115 metadata from REST services

I need to create ISO 19115 metadata from REST services on a webpage. I'm not even sure how to begin on this. Has anyone here done this or similar tasks before?
Chozang's user avatar
  • 111
2 votes
0 answers
326 views

Exporting QGIS layer as shape through REST API

I would like to export a layer described in QGIS Server project file as Shape through REST API. For example GeoServer's GetFeature accepts outputFormat parameter value shape-zip which in turn returns ...
user153027's user avatar
-1 votes
1 answer
414 views

Using iterator in ModelBuilder with layers in REST Service

Is it possible to get an iterator in ModelBuilder to iterate through layers in a REST service? It appears to be possible to extract data from many REST service layers. However, I want to point an ...
The_Spatial_Obsessive's user avatar
3 votes
1 answer
2k views

Publishing service using service definition file (sd) through the ArcGIS REST API?

The algorithm I have so far is basically this: Create a sddraft from a mxd file (using arcpy.CreateMapSDDraft(). Stage sddraft into a sd file (using arcpy.StageService_server(). Upload sd file to ...
CJ Virtucio's user avatar
1 vote
1 answer
835 views

SLD space in TTF url fails

Use geoserver rest interface to create a style,param like below url:http://localhost:8080/geoserver/rest/workspaces/qgisImport/styles Content-Type:application/vnd.ogc.se+xml;charset=UTF-8 body: ... &...
welldone's user avatar
0 votes
1 answer
575 views

GeoServer REST API for NetCDF in Python

I am trying to programmatically edit the dimension variable in GeoServer for 200+ NetCDF's. This is how I am trying it: from geoserver.catalog import Catalog cat = Catalog("http://localhost:8080/...
J.A.Cado's user avatar
  • 347
0 votes
1 answer
753 views

Get field value: JSON response from feature service [closed]

I have JavaScript in work order management software: load("nashorn:mozilla_compat.js"); importPackage(java.util) importPackage(Packages.psdi.server) var ctx = new HashMap(); ctx.put("url","https://...
User1974's user avatar
  • 1,222

1
2 3 4 5