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
0 answers
43 views

Is there a format like polyline6 but with altitude for API

I develop a REST API and need to send/receive coordinates with their altitude. For now we only needed latitude and longitude so we were using Polyline6 to have an efficient way to transfer data. ...
Will's user avatar
  • 101
0 votes
1 answer
50 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,263
0 votes
1 answer
15 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,298
0 votes
1 answer
39 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
60 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
130 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
250 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
256 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
  • 9,546
0 votes
1 answer
42 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
76 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
254 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
  • 7,950
0 votes
1 answer
665 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
846 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,433
1 vote
0 answers
319 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
773 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
  • 9,546
2 votes
0 answers
74 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
305 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,753
1 vote
1 answer
145 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
1 vote
0 answers
272 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
439 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
153 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
0 votes
1 answer
838 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,120
1 vote
1 answer
85 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
  • 892
-1 votes
1 answer
743 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
1k 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
  • 71
0 votes
1 answer
445 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,114
2 votes
1 answer
150 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,094
1 vote
0 answers
269 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
86 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
231 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
247 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
56 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
299 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
286 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
1k 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
612 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
523 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
681 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,114
0 votes
0 answers
99 views

Adding style to a published layer using GeoServer REST API with Node.js [duplicate]

Lets say I have a custom style in GeoServer and after I created a new layer, I want to add the style to that layer. I am using this link for documentation. function editLayerStyle(layerName, body) { ...
Angels's user avatar
  • 151
0 votes
1 answer
971 views

ArcGIS REST API query failing with large geometry as input

I am querying different ArcGIS Services passing a polygon as the input geometry to get the features from the service that intersect with it. However, depending on the polygon's geometry I get ...
Marcelo Villa's user avatar
1 vote
2 answers
4k views

How do I use Django REST Framework GIS to query GeoJSON

I am trying to write the view that will return a GeoJSON of my model stored in the database. I would like to create an API so that I can use an AJAX request in a JavaScript file I have. I have not ...
Flynnpc's user avatar
  • 163
1 vote
2 answers
883 views

Converting REST Service to file geodatabase feature class?

I'm trying to convert a rest service to a feature class but Python is getting hung up in the middle of the process. Input: import arcpy import urllib import json # Setup arcpy.env.overwriteOutput =...
cl3's user avatar
  • 1,936
2 votes
0 answers
551 views

Creating GeoJSON REST service

I'm trying to create a GeoJSON REST service from a PostgreSQL connection. First I fetch GeoJSON as a string from PostgreSQL: import java.util.*; import java.sql.Connection; import java.sql....
aretai's user avatar
  • 121
0 votes
0 answers
485 views

ArcGIS Server REST API Query - Where date strings are greater than

I am working with an ArcGIS Sever 10.41 rest service that contains many scientific records. These records have a date field called sample_date but it's stored as a string. See below. sample_date ( ...
jotamon's user avatar
  • 1,695
1 vote
1 answer
480 views

Modify GeoServer Caching Defaults via REST

I'm working on some shell scripts to configure GeoServer instances using the REST endpoints, but I've become stuck with the GeoWebCache caching defaults. Is there any way to modify the gwc-cs.xml file ...
AEgman's user avatar
  • 41
1 vote
2 answers
2k views

Adding data from Mongo to GeoServer?

I'm finishing my last degree on informatics but I'm having trouble getting Tiles/Layers. I have a DB on MongoDB - with this Schema (GeoJSON) db.stations.insert({ "name": "station 1", "...
Pedro Manuel da Costa Martins's user avatar
0 votes
1 answer
307 views

ArcGIS REST API not enough storage available to complete the operation

I am building a web app for submitting jobs to the Vehicle Routing Problem Solver. I have been testing this app for a while now and I could submit jobs flawlessly before, but as of today I am getting: ...
sean aye's user avatar
5 votes
3 answers
2k views

Find out ESRI REST URL for web map which is hiding it

I would like to extract the pipeline geometries from https://www.arcgis.com/home/webmap/viewer.html?webmap=a00c3b5cee4e4fe0b238b5e05ed80204 It shows the existing gas & oil pipelines crossing ...
Luis Paganini's user avatar
1 vote
2 answers
771 views

Unable to Upload shapefile using GeoServer REST API using Java

I am trying to upload shapefiles through GeoServer REST API's. I am not able to create new layer with this following snippet of code. However Create Workspace and style method works fine using this ...
GeoFresher's user avatar