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),...

learn more… | top users | synonyms

2
votes
1answer
25 views

Loading REST Service in QGIS?

How do I load this REST service in QGIS? https://tpwd.texas.gov/arcgis/rest/services/GIS/Ecosys1/MapServer The ArcGIS REST API Connector returns the error: [Errno 1] _ssl.c:504: error:14090086:SSL ...
0
votes
0answers
11 views

ArcGIS Rest service is returning multiple identical records when getting KMZ [on hold]

This REST URI returns 299 identical records: http://dec.alaska.gov/arcgis/rest/services/EH/Solid_Waste_Sites/MapServer/1/query?where=1%3D1&text=&objectIds=&time=&geometry=&...
0
votes
1answer
135 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 ...
1
vote
1answer
829 views

SLD encoding with GeoServer REST Configuration

I am using the GeoServer REST Configuration to add the following SLD file to GeoServer: <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xmlns:ogc="http://...
0
votes
2answers
35 views

Making copy of GeoServer layer?

In GeoServer, assume I have a layer named "myLayer". Using GeoServer's REST API, I want to make a complete copy of the layer, let's say "myLayer2" in the same workspace. What would be my best ...
1
vote
1answer
27 views

Extracting features to feature classes from a REST service

I've seen this done before but I can't figure that out how to do it. How do you extract features from a REST service to a feature class (or shapefile)? I believe it involves adding a REST service link ...
2
votes
1answer
436 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 -> ...
0
votes
2answers
591 views

How to check if REST plugin is installed for GeoServer

Hi I am having trouble uploading vector files onto GeoServer 2.4 using 'Import Vector' in the QGIS Processing toolbox. After reading around about the 'REST' plus in I went to: http:// Also when I run ...
2
votes
0answers
26 views

What's the best way to serve a changing set of Geotiffs as a WMS layer?

I have a set of geotiffs that will be continually updating and I'm trying to find the best way of automating this process. At any point in time, I want to be able to make a WMS request against a ...
4
votes
1answer
40 views

Is there any way to find out what REST services are being consumed in ArcGIS Online

Is there any way I can get a list of REST services being consumed in ArcGIS Online? I am an admin on our account and just trying to see where our REST Services are being used. Rather then open each ...
1
vote
0answers
22 views

GeoFence: How to secure its REST API?

GeoFence is securing GeoServer quite nicely, but I can't find how to secure the GeoFence REST API. I've been able to access the REST API without any authentication.
3
votes
1answer
57 views

How to get connection info from an .ags connection file?

I am working on a Python script to manage ArcGIS Server services (publish new services, update existing services, delete old services, etc.) in batch across multiple environments (e.g. dev, test and ...
5
votes
1answer
296 views

Can GeoProcessor use credentials?

I've set up a web service that uses ESRI's REST API spec. This allows me to make requests using the (Silverlight)/WPF SDK. If I turn on windows authentication though, I get a 401 error when using ...
1
vote
1answer
16 views

Discovering gravimetric station data, including location and measurement?

I would like to refine an precision estimate of local gravity based upon current GPS position. Ideally, similar to the National Weather Service API, I would like to interrogate a server with a REST ...
2
votes
1answer
272 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 ...
1
vote
0answers
22 views

Generating URL using USGS Site-Test-Tool to add as Layer in ArcGIS Online?

I am trying to use http://waterservices.usgs.gov/rest/Site-Test-Tool.html to generate a Rest URL to add as a Layer in ArcGIS Online. I generated url (http://waterservices.usgs.gov/nwis/site/?format=...
0
votes
1answer
57 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 ...
2
votes
1answer
46 views

Use ArcGIS for Server geocoding service results in QGIS (or another generic approach)

An ArcGIS for Server geocoding service can be used via http get (singleline geocoding for 'Jugendamt' [youth office]) http://secure.erlangen.de/arcgiser/rest/services/Comp_fromModel/GeocodeServer/...
3
votes
1answer
110 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.
6
votes
1answer
544 views

How to download GeoTIFFs using the REST API in GeoServer 2.2?

I am using GeoServer (Version 2.2 Git Revision f5b5c35076b52d02eb9cca3fa3232bc17b5f6d80 Build Date 19-Sep-2012 18:33 GeoTools Version 8.2 (rev 704570474295e339c08d1ca140d884f23a8a03a3)) and I have a ...
2
votes
0answers
50 views

QGIS print composer, export as image, rest ESRI raster as basemap

I am trying to export an image from the print composer using this layer [ESRI rest layer][1] as a basemap. http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer I ...
0
votes
2answers
619 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":"&...
2
votes
1answer
224 views

How to get the Reconcile Versions geoprocessing tool published as an arcgis server 10.1 service to work with a new version

After publishing the Reconcile Versions GP tool to ArcGis server 10.1, it can be successfully invoked via REST but only on versions existing at the time the service was published. If a new version is ...
0
votes
0answers
202 views

Examples of ArcGIS Server 10.x REST map service layers with OpenLayers 3?

I am looking around, but so far I have only seen examples for OpenLayers 2 that use ArcGIS REST map services (dynamic, not cached). Is there a way I can add an ArcGIS 10.x REST map service to ...
6
votes
1answer
172 views

How to use third-party package in a QGIS plugin?

I'm developing a QGIS plugin and I would like to use arrow or requests packages as I'm used to manipulate dates and REST APIs. QGIS does not come with these packages (at less arrow), so when I try to ...
0
votes
0answers
51 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
188 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 - ...
7
votes
2answers
2k views

Adding a new Coveragestore in a certain Workspace by REST

So, simple thing as it seems but I can't seem to make it work! I'm trying to add a raster data file (GeoTIFF) to geoserver via REST API, using curl on linux. REST API is working, since I created a new ...
1
vote
1answer
174 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
votes
1answer
162 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
49 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 ...
0
votes
0answers
237 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 ...
0
votes
0answers
69 views

JSON Rest API - Mapfile - OpenLayers

I'm new to the GIS world. Using postgis 2+, I have a rest API running on a Tomcat server returning JSON. For instance : Query : GET /city?state=foo&otherParameter=bar [{ "id" : , "cityname" : ...
4
votes
2answers
13k views

How do I serialize/deserialize .NET dictionary without key value elements?

I'm trying to get my C# class to serialize to a json that complies with GP Job, for example: { "jobId" : "jb10b153b77e74a839e31af53e5d4d0d1", "jobStatus" : "esriJobSucceeded", "...
8
votes
4answers
9k views

Create a Layer in GeoServer using REST

As part of a possible solution to this question i want create a layer in GeoServer via REST that supplies a SQL statement along with a userid. Reading I think i would create a feature type and ...
6
votes
2answers
138 views

Is there a service that would return me all streets in a city (ZIP)?

I am looking for a service that you know of, that would return me all streets in a city (ZIP) for the purpose of building a drop-down (or auto-complete) address entry field. Thanks
2
votes
1answer
231 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
1answer
116 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 ...
0
votes
1answer
621 views

Find nearby cities by a driving distance radius

I'm studying GIS services to solve one specific need: Given x/y coordinates of one city, I want a JSON result that lists only cities (not facilities) that are nearby the specified city, within a ...
3
votes
0answers
144 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" ...
2
votes
2answers
469 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
27 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 ...
9
votes
1answer
559 views

ESRI HTTP where query

A friend and I are currently creating a pretty straight forward LINQ to ESRI library that sends HTTP queries to an ArcGIS MapServer and then parses the JSON response appropriately. Everything is ...
3
votes
4answers
6k views

WKID (Well Known ID) for national projection for ArcGIS REST API

I have to use my national projection system which does not have corresponding WKID listed for ArcGIS REST API. Without it I am unable to use this projection system for my web application. Any ...
2
votes
1answer
36 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
469 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
2answers
2k views

Access geoprocessing service via REST, get JSON back

I have an ArcGIS Server 10.0 geoprocessing task with a REST endpoint something like this: http://server/arcgis/rest/services/MyService/GPServer/MyTask The task takes a parameter. I was hoping I could ...
5
votes
2answers
2k views

programmatically create and publish geotiff layer in geoserver

We need to automatize process of creating datastore and publishing geotiff layer. Also, before publishing we need to change Declared SRS and to save Native Bounding Box to our database. Geotiff file ...
0
votes
1answer
74 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 ...
0
votes
0answers
29 views

Using REST APIs and interactive maps

Are there any tutorials available showing how I can learn to harvest data from a REST API to an online interactive map? I am very new to the use of APIs so something pretty basic in the first instance ...