Skip to main content
18 votes

Creating Layer in GeoServer using REST

I know this is an old question, but just in case anyone else is confused as I was. The important part is that you cannot create a layer from the http://geoserver/rest/layers endpoint. If you are ...
lostintranslation's user avatar
6 votes

Seeking open source ArcGIS REST API compatible server?

The answer is 'yes' and 'no'. Let me explain. As Bill mentioned, there are plenty of implementations of various OGC standards WFS, WMS, TMS, etc. (see Geoserver, Mapserver, Tilestache, etc). However,...
Ragi Yaser Burhum's user avatar
6 votes
Accepted

How to open REST/JSON service in QGIS?

The JSON returned from that URL does not look like it conforms to any standard format. Any system that could map from that URL would have to know it was an array, with an array of "weatherStations" ...
Spacedman's user avatar
  • 66.5k
6 votes
Accepted

Adding a geopackage (gpkg) to GeoServer through REST API

Mixing the comment by @AndreaAime and the answer by @IanTurton, I finally made a working curl for Geopackages containing SQLite vector data: curl -v -u <USR>:<PASSWORD> -XPUT -H "...
Diego's user avatar
  • 81
6 votes
Accepted

Unable to select layers for intersect in QGIS

The intersection tool works only with vector layers. It does not work with raster layers or WMS layers. As mentioned in the intersection tool help, the input paramters should be of type vector only. ...
ahmadhanb's user avatar
  • 41.4k
6 votes
Accepted

How to extract GeoServer usage details using REST API?

The monitoring module allows to collect information about requests regardless of how they are made (POST/GET, different versions of the protocol). However, the database storage for the module has ...
Andrea Aime's user avatar
  • 17.7k
5 votes

Is it possible to do a GetFeatureInfo request using WMTS?

Is it possible to do a GetFeatureInfo request using WMTS? It depends on what is supported by your service implementation, but in theory it is possible, by which I mean the OpenGIS® Web Map Tile ...
nmtoken's user avatar
  • 13.6k
5 votes

How to query Overpass API with Postman?

If you want to learn fishing: Go to https://overpass-turbo.eu/ Then enter the overpass query (QL/XML doesn't matter) that you like to check. Before running the query, open your browser network tab ...
Hou's user avatar
  • 51
5 votes

Is Esri REST API the same as REST API

REST is a computer industry acronym (REpresentational State Transfer). Most web-based APIs are REST, so no, neither Esri API (Server or Portal) is the same as any other API (or each other). There are, ...
Vince's user avatar
  • 20.3k
4 votes

Modify GeoServer Caching Defaults via REST

Have a look in the resource endpoint - on my machine http://localhost:8080/geoserver/rest/resource/gwc-gs.xml gives me, usually I GET it, edit and then PUT it back. <?xml version="1.0"?> <...
Ian Turton's user avatar
  • 83.2k
4 votes

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

I found the URL: https://services.arcgis.com/jDGuO8tYggdCCnUJ/ArcGIS/rest/services/Esisting_pipelines_final_updated/FeatureServer by going into developer tools in Chrome: F12 and reloading the site ...
Jay Cummins's user avatar
  • 14.7k
4 votes

Edit ArcGIS Feature Service with QGIS

Editing ArcGIS Feature Service layers is not possible in any current QGIS version (as of August 2018).
ndawson's user avatar
  • 27.9k
4 votes
Accepted

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

Finally got a working solution. First off, if you're using a webadaptor front-end, the base URI that you'll be using will likely be something like: https://<your-domain>/web-adaptor So paths ...
CJ Virtucio's user avatar
3 votes

GeoServer WMS, WFS and REST difference

More practically, WFS services provide editing capabilities WMS services don't. REST is a style of request and can be applied beyond geospatial web services, whereas WMS and WFS are types of endpoint ...
ZZZ's user avatar
  • 530
3 votes
Accepted

How to push newly added or updated domain values to ArcGIS rest service?

Once the service is published, there's a schema lock established on the item. The domain is part of this schema. You might be able to kill the lock but the service will not show the changes until you ...
Don's user avatar
  • 626
3 votes

How to query Overpass API with Postman?

At overpass-turbo.eu build your query, then simply go to Export -> Query -> OverpassQL for obtaining an Overpass API URL for your query. Unfortunately I have absolutely no idea what Postman is.
scai's user avatar
  • 6,255
3 votes

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

It may be convenient to use a VRT file if you often use the same remote layer in different QGIS projects instead of copying/pasting it in each of them. Put in file myvrt_demo.vrt the following content ...
ThomasG77's user avatar
  • 31.2k
2 votes

Can't change the datastore in Geoserver

In addition to Ian's valid points, I'll add that the XML does not seem like the one GeoServer would use/generate to describe a store, which looks as follows instead: <?xml version="1.0"?> <...
Andrea Aime's user avatar
  • 17.7k
2 votes
Accepted

How to query Overpass API with Postman?

I arrived to query Overpass API with Postman this way: http://www.overpass-api.de/api/xapi?*[amenity=cinema][bbox=-180,-90,180,90] After 3 minutes and 13MB Special tanks to @mmd that linked on a ...
Francesco Mantovani's user avatar
2 votes

Converting REST Service to file geodatabase feature class?

I recently needed to do convert a REST service to a Feature Class as well. Here is a MWE of my approach (using requests rather than urllib). import json import arcpy import requests # arcpy env ...
Marcelo Villa's user avatar
2 votes

Adding a geopackage (gpkg) to GeoServer through REST API

It seems that you can add geopackages in the same way as you add shapefiles but with the file extension .gpkg: curl -v -u admin:geoserver -XPUT -H "Content-type: application/zip" --data-...
Ian Turton's user avatar
  • 83.2k
2 votes

Querying a database/REST API

The API is nicely documented, so using it in QGIS is straightforward. Here's a snippet of PyQGIS code that displays tornadoes from June 6-7, 2005: import requests url = "https://www.ncdc.noaa.gov/...
Rudy Stricklan's user avatar
2 votes
Accepted

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

Not a definitive anser, as I cannot prove it, but there's a good chance that there is no difference, apart from the host name. They both resolve to the same set of IP addresses: % host server....
Son of a Beach's user avatar
2 votes

Find all ArcGIS REST servers that exist

No. The answer here is much the same as the answer to "Is there ay way to get a list of the URLs of all the web servers that exist?" and for a similar reason. Anyone can create one with ...
Son of a Beach's user avatar
2 votes

Setting up MapProxy to download tiles from ArcGIS REST Service

The WMS configuration should be right under the services section, in you case there is an extra indentation putting it under demo. Your services section should look like this: services: demo: wms: ...
Shimon Cohen's user avatar
2 votes

ArcMap freezes trying to access REST dataset

There are a couple or few items going on with that service. Firstly, the New South Wales government has secured that ArcGIS Server Services Directory in a way that prevents adding it as an ArcGIS ...
bixb0012's user avatar
  • 2,449
2 votes

Getting a workspace's namespace via GeoServer REST API

There is a difference between namespace and namespace URI. In the GUI there is a field for the namespace URI which is what I am after: The namespace itself is using the workspace's name so this query ...
bugmenot123's user avatar
  • 11.3k
2 votes

GeoServer, SLD version is changed during download

You need to specify the content-type of your file to be SLD 1.1 (application/vnd.ogc.se+xml) when you upload it, as described in the REST API Documents: Use POST with a style file (application/vnd....
Ian Turton's user avatar
  • 83.2k
2 votes

Adding non-ArcGIS Rest service to QGIS

To get GeoJSON back for an application you need to request it. (Random) Example: https://restservices.herefordshire.gov.uk/planningV2/application/242581/geojson?callback=...
Mapperz's user avatar
  • 50.2k
1 vote
Accepted

Get field value: JSON response from feature service

I can parse the JSON text using JSON.parse. var obj = JSON.parse(jsonResp); service.log(obj.features[0].attributes.ZONE) Notes: The JSON features element is an array with a single element in it (...
User1974's user avatar
  • 1,272

Only top scored, non community-wiki answers of a minimum length are eligible