Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
2answers
54 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", "...
0
votes
0answers
16 views

Generating bounding box in GeoServer

Do you know how to call "generate bounds from CRS" with code (REST) in layergroup ? I'd like to do the same as when we click the corresponding button in the GeoServer interface http://localhost:8080/...
0
votes
1answer
46 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: ...
4
votes
3answers
160 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 ...
1
vote
2answers
53 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 ...
2
votes
0answers
32 views

Selecting features in QGIS via NetworkAPI HTTP POST request

Searching for a way to remotely operate on a running QGIS instance I recently stumbled upon a GSOC 2017 project NetworkAPI which provides a REST interface for QGIS (https://gitlab.com/qgisapi/...
0
votes
1answer
102 views

Using the ArcGIS API for Python with a REST service to search content

I have a public REST service that has several layers and feature classes that I want to access. According to the documentation. Once I have the arcgis package imported, I can inject my outside REST ...
1
vote
1answer
98 views

Edit ArcGIS Feature Service with QGIS

When I add an ArcGIS feature service in QGIS, the Digitizing Tools become disabled. Is there any way to edit data from ArcGIS Rest Services (Feature Services from ArcGIS Server 10.5.1 like WFS ...
2
votes
3answers
293 views

How to query Overpass API with Postman?

I'm learning Open Street Map in order to try to retrieve a list of all cinemas in the world, in a country or in a city I would like to know if I can do that with a REST query in Postman. On ...
0
votes
0answers
25 views

OpenTripPlanner API Elevation values unclear

I'm using the OpenTripPlanner Planner API to find directions. The API returns XML with the geometry of the line (2D) and the elevation data separately, for example The 2D line geometry is as ...
1
vote
0answers
59 views

Disable Token Authentication for REST Services in ArcGIS Server

For test purposes I have activated Token Authentication through my ArcGIS Server. Now I want to get back to Windows Authentication and I just simply can't find anywhere clear instructions to disable ...
0
votes
0answers
40 views

GeoServer REST harvesting with ElasticSearch using CSW as entrypoint

I've been assigned a task to research ways of using geoserver as a data source to elasticsearch using geoserver's CSW endpoint as a catalogue. Essentially, I need a middle-layer between an instance ...
1
vote
1answer
61 views

Making a RESTful WPS using ZOO Project

I am trying to make a RESTful WPS using ZOO Project. According to the following OGC Papers WPS 2.0 Interface Standard and Web Processing Service for WPS 2.0 and 1.0 respectively, it does seem possible ...
0
votes
2answers
119 views

Can't change the datastore in Geoserver

I want to change the datastore, from oracle to postgres. I have installed the 2.8-SNAPSHOT version I did perform a curl PUT request to change it curl -u user:pass -X PUT http://localhost:8080/...
0
votes
1answer
13 views

Implementing RESTful Architecture on ZOO Project? [duplicate]

I read in the WPS 2.0 paper on Open GIS webpage that WPS 2.0 can be implemented with a RESTful architecture. I am working on a project using ZOO WPS. Is there some way to incorporate the RESTful ...
3
votes
2answers
422 views

Is it possible to do a GetFeatureInfo request using WMTS?

I currently have an interactive map with multiple layers based on the WMS protocol, which has been working fairly well. I use GeoServer to serve the layers and OpenLayers for the front-end. My problem ...
0
votes
1answer
60 views

ArcGIS REST API test performance

I need to test the performance of the ArcGIS REST API (Version: 10.51) on the map services I have created. The tester within our team is using swagger but it is not implemented in the ArcGIS REST API. ...
0
votes
1answer
169 views

Creating datastores in GeoServer REST API with external file option

Following the REST API documentation here I should be able to do a PUT request to /workspaces/{workspaceName}/datastores/{storeName}/{method}.{format}. Problem is I cannot get how to do it with an ...
0
votes
0answers
74 views

ArcGIS Online REST API custom authentication HTTP headers

Does ArcGIS Online REST API use custom authentication HTTP headers when accessing WMTS? I'm having trouble authenticating to the ArcGIS REST API. I'm new to REST architecture and would be grateful ...
0
votes
0answers
37 views

ArcGIS Server - Get map of all folders, services, layers etc

Is there a way to query a REST service on an ArcGIS server and get JSON object of all folders, services, layers and other resources. I am writing my own queries but it is becoming rather cumbersome ...
2
votes
1answer
1k views

How to open REST/JSON service in QGIS?

As the title states I'm trying to open a REST/JSON service in QGIS, but without luck so far. Now I'm wondering if this kind of service is even possible to open in QGIS with current, existing tools. I'...
2
votes
1answer
270 views

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

I'm currently using ArcGIS Server 10.4 for my REST service and ArcGIS Online. I have created a domain list and assigned it to a field. All of it works fine. I'm currently using Oracle for my ...
0
votes
2answers
323 views

Generating a token for ArcGIS REST Services in VBA

I am trying to generate a token in Excel VBA to add data to a table on our server. I am using the following code to generate my token: Dim tokenHTTP As Object Set tokenHTTP = CreateObject("MSXML2....
5
votes
1answer
2k views

REST API for OGC standards

I can access WMS and WFS using SOAP and XML. Is there an option to access it using REST and JSON? I have gone through the specification and couldn't even find the word REST mentioned once.
2
votes
1answer
1k views

dojo/request a png image array buffer using NodeJS, and return the image to the client

I am attempting to request a png image using NodeJS and dojo/request from an ArcGIS Server REST feed, and return the image to the client. I need nodeJS to add a token to the request as a query ...
0
votes
0answers
305 views

Clearing ArcGIS Server REST cache?

We have many services in ArcGIS Server 9.3.1 and have more than 200 users using these services. When creating a new service we need to clear the cache, as long there is a user connecting it takes ...
4
votes
0answers
522 views

Twitter REST API missing geo-tagged tweets from Europe

I used twitter's REST API to get few thousands tweets from last two days. Everything went ok, but when I put tweets on the map, there is empty "box-like" area (no tweets for almost entire Europe - ...
1
vote
1answer
473 views

Transferring data from WMS/REST/SOAP to my GeoServer

I spent many sleepless and desperate hours trying to solve my problem. All links in google are now purple, no blue unread links. You guys are my last hope in solving my seems to be a simple problem. ...
1
vote
1answer
100 views

ArcGis Runtime (.net) powered REST-services?

I am currently involved in a project where we need a few services for complex geometry processing. At the moment, some services has been implemented as Python GP-tools and deployed on an ArcGIS ...
-1
votes
1answer
74 views

Is it possible to publish ArcGIS map tile service without publishing component layers of that tile service?

I have an ArcGIS tile service that covers an area but when I look for the respective mapserver layer for that tile I did not find respective layer in the map server layer published.e.g. For this map ...
0
votes
0answers
708 views

Use postgis functions in restful web service java

I am trying to access Postgis functions in Restful web service JAVA. I am using netbeans 8.0.2, Glass Fish, J2EE 7 to create web service, PostGres 9.2 and postgis 2.1.1. Connection to postgres is ...
3
votes
1answer
1k views

Programmatically get Layer source properties DataType with ArcObjects?

I am trying to access the DataType property of a Layer in the TOC in ArcMap. The layer is added from a web service as an IMapServerRESTLayer. The Data Type property is listed with Layer -> ...
-1
votes
1answer
391 views

Steps to integrate Cesium.js with Mapguide Opensource [closed]

I render map in php mapviewer with mapguide opensource and postgresql/postgis and edit with mapguide maestro. What would be steps to integrate cesium.js?
0
votes
1answer
468 views

Add REST map service to basemap

I have created a JSON file which includes 30 map service layers and their attributes. This includes the map service url. My function creates a table of contents from the JSON object so that when I ...
2
votes
1answer
220 views

Full Text Search in ArcSDE

We have a quite large ArcSDE (~120 versioned feature classes & tables, 1M-3M records) which has Oracle or SQL underlying DBMS. This SDE is exposed through a MapService and we use ArcGIS JS API to ...
2
votes
1answer
566 views

GeoDjango Setup: Python 'GDALAllRegister' Attribute Error

I am trying to setup Geodjango 1.8 in a virtualenv with Python 2.7.9 (Win32). I have installed and setup Postgres/PostGis and have my Path setup to my OSGeo4W directory. I have also installed the ...
2
votes
2answers
895 views

map service URL in ArcGIS JS API

I have this code that is mostly from an ArcGIS JS API sample: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-...
1
vote
0answers
99 views

Getting GeoServer full datastore layer list by REST [duplicate]

I have installed GeoServer 2.6.1 with an Oracle datastore which has some of the tables of the database published - the others will be published in the near future. The documentation says that It is ...
2
votes
1answer
48 views

Registered folder with ArcGIS for Server 10.2, will changes to data in folder go live on Server/REST?

I've registered a folder that contains a .gdb with some feature classes with ArcGIS Server 10.2 and exposed the data (read privileges) to the ArcGIS Server domain user account. I'm using these ...
1
vote
2answers
1k views

How to make a REST get request to Geoserver in Python?

I was wondering how to make a GET request to geoserver 2.6 in Python. import urllib2, json url = 'http://localhost:8080/geoserver/rest/workspaces.json' authKey = 'admin:geoserver' headers ={'...
0
votes
1answer
320 views

how to delete a style that associated to a layer?

I want to apply a style to a layer by rest.at the first time everything is ok. But when I change the content of the sld file in the style folder mannually,it doesn't apply to the layer. I want a way ...
1
vote
2answers
3k views

Attempt to generate ESRI REST Token generate 'no client_id specified' error even when client_id is in the request body

I'm making a HTTPS POST request to the following URL: http://www.arcgis.com/sharing/rest/oauth2/token/ In the Request body I've added the following JSON: {"client_id":"<ID>","client_secret":"&...
1
vote
0answers
95 views

ArcGIS Android and Retrofit [closed]

I'm working with Retrofit to connect my application with my API. Retrofit is using Jackson 2+, and ESRI is using Jackson 1.95+ So, I can't figure out how to solve this. I have an application using ...
4
votes
1answer
114 views

ArcGis Rest Vehicle Routing Time Problem

I am using the ArcGis vehicle routing rest service. It works fine until I add in the EarliestStartTime for my route, then it no longer assigns the orders to the routes (delivery windows and breaks ...
1
vote
0answers
115 views

How can one modify map service legend (specifically raster layer)?

I've got the raster layer in my map service, which in fact is created automatically by asynchronous GP service as its output result ("View results with a map service" option). The raster is symbolized ...
3
votes
0answers
322 views

Could not set a workspace style as layer's default style using REST API

I am posting this data to DATA_ONE {"layer": { "enabled": true, "defautStyle":{ "name": "My_Roads_Style", "workspace": "My_Workspace" ...
0
votes
1answer
87 views

is possible data management with geoserver rest api

We can create data stores, workspaces with goserver rest api. Is possible to load data to a datastore via geoserver rest api?
5
votes
1answer
3k views

Geoserver WMS, WFS and Rest difference

I am new at geoserver. I connected to databse from admin panel and published layers. But I could not understand difference of WMS, WFS and Rest service. What is the difference?
3
votes
1answer
836 views

How to do OpenLayers.Request in OpenLayers3?

I have been searching for solutions to call GeoServer REST api from OpenLayers 3 for a long time. I found that for OpenLayers 2, there is a OpenLayers class OpenLayers.Request for doing this: http://...
1
vote
1answer
647 views

Use ArcGIS Server REST geoprocessing service from the client without ArcGIS Web API's or ArcObjects

I'm checking to see if anyone knows how to execute and read the response from a custom Geoprocessor published on an ArcGIS Server as a REST web service without the use of ArcObjects or an ArcGIS web ...