Representational State Transfer (REST)

learn more… | top users | synonyms

0
votes
0answers
25 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" : ...
2
votes
1answer
32 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 > Properties > ...
0
votes
0answers
13 views

Steps to integrate Cesium.js with Mapguide Opensource

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

Geoprocessing on REST service

I have a published REST service with line geometry. If I have permissions to edit the service in ArcMap, shouldn't I be able to perform a arcpy.Dissolve_management on the line geometry (client side) ...
2
votes
1answer
63 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
0answers
22 views

ArcGIS Rest Services JSAPI Not Displaying Relation to Applications

I have two user accounts. One can see imagery at the ArcGIS JSAPI interface on Rest Services. The other cannot. Does this definitively mean that the user with no access to the imagery in other ...
1
vote
1answer
122 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 ...
1
vote
2answers
226 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
24 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
23 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
154 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
25 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
23 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 ...
0
votes
1answer
163 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: ...
1
vote
0answers
50 views

ArcGIS Android and Retrofit [closed]

im working with Retrofit to connect my application with my API. Retrofit is using Jackson 2+, and ESRI is using Jackson 1.95+ So, i cant figure out how to solve this. I have an application using ...
3
votes
1answer
52 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
45 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 ...
2
votes
0answers
79 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
42 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?
1
vote
1answer
191 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?
2
votes
1answer
128 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: ...
1
vote
1answer
95 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 ...
2
votes
1answer
302 views

How to delete a GeoServer coveragestore using REST API?

I was wondering if there is any example of using REST API with curl to delete a coverage store? I looked at the examples at the boundless website ...
1
vote
1answer
136 views

REST query to determine which polygons a geometry is inside and outside

I am experimenting with feature services (ArcGIS Server) using REST. I have a specific problem now I'd like to solve but not sure of the best way or syntax. I have an input geometry that I query to ...
3
votes
0answers
65 views

ArcGIS Silverlight API - Use POST instead of GET

Is there a way to get queries performed using the ArcGIS API for Silverlight to use POST instead of GET? I'm trying to pass in a geometry which has too many vertices for the character limit.
0
votes
1answer
42 views

API to online map

I've had a search online and still a bit confused. Would someone be able to outline a summary of the basic configuration of exposing data to an online map from an API. The API supports a REST model ...
0
votes
0answers
33 views

Creating REST map services from external web services - how can it be done?

I am not sure if the terminology is correct here so apologies in advance. I am working towards creating REST map services for a map view and part of this work includes developing map services on ...
2
votes
0answers
27 views

Querying a shapefile and returning values?

I have a lot of experience making maps in ArcMap. I don't have much experience programming or working with APIs. Here's the (simple) problem: I create a shapefile of a region and then load the ...
2
votes
2answers
575 views

ArcGIS Rest performing query on feature service layers using within and intercepts

I am creating an application that needs to query a bunch of layers over REST to see which layers a point or line is within. At the moment I have a local ArcGIS server set up with some feature ...
1
vote
1answer
165 views

Is editing feature service through the REST API an okay approach?

I have a database that receives real-time data from alarms throughout the day, or on request. I'd like to create a web map that displays the "bad" alarms. My current idea is to create a Python ...
0
votes
1answer
44 views

Projections when using google maps and rest service on openlayers

I am trying to use a rest service on an openlayers map that has 2 google maps layers. The google map layer is set to it's own custom projection (which I had to code into the library by hand, but I ...
0
votes
0answers
47 views

Sample FindNearest ArcGIS REST URL

Could anyone provide me with a sample FindNearest URL using the REST API for Arc GIS? It should look something like this: server.arcgis.com/FindNearest/submitJob/, but I have not been able to get a ...
0
votes
1answer
187 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 ...
1
vote
1answer
96 views

Automatically refresh an ArcGIS93Rest layer in OpenLayers

I finally succeeded to import a gtfs-realtime feed into ArcGIS Server (used gtfsrdb.py and the created a script to automatically, every 30 seconds, to update the geometry of a table with the points). ...
1
vote
0answers
137 views

Changing user's password and adding users in Geoserver using REST service

I want to change user's password (e.g. for admin user) and create a new one using Geoserver's REST API. Is this possible? I tried to look for some solution in their DOCUMENTATION, but nothing found ...
2
votes
1answer
123 views

ESRI REST Api - need to download batches of tiles

So I wanted to use the ESRI REST Api to fetch map tiles for an application. Right now I am calling for each tile as I need it via its X/Y and zoom level(which is generating a bunch of http calls), but ...
0
votes
2answers
151 views

Geoserver REST api control

Recently I am using Geoserver grammatically through its REST api. When I request for a map it gives me a map image. My request code is like this: public string GetMap(string name) { ...
0
votes
0answers
47 views

Function of query.Like

I was wondering how ESRI's query.Text works. From what I read, it is basically the shorthand for the LIKE SQL statement, but it is not working. Maybe I am misunderstanding it's use? Any help is ...
0
votes
1answer
49 views

GeoServer REST - Applying Style to Multiple layers

I have a bunch of rasters in GeoServer that need to have the same style applied to them as their default style. Is there any way to do this?
2
votes
1answer
353 views

Is it possible to query raster from ArcGIS Server 10.1 REST?

I have a map service that contains a SDE raster layer and served out by ArcGIS Server 10.1. Is it possible and how to query through REST service on the raster layer? Basically what I want to do is to ...
0
votes
3answers
450 views

Bing Map REST API is not working

if i place the below URL in my browser http://dev.virtualearth.net/REST/v1/Locations?q=bangalore+karnataka+india&key= The response is below { authenticationResultCode: "ValidCredentials", ...
1
vote
0answers
74 views

How to post an existing shapefile datastore using cURL?

I read geoserver doc, and already Uploaded a shapefile to geoserver using cURL. But I can't change layer name by REST. So I think that there is another way to post a layer. If I can post an existing ...
0
votes
1answer
120 views

Retrieving raster/coverage width and height in pixels from GeoServer

Is it possible to retrieve the original width and height in pixels for a coverage in GeoServer using either the Python API or REST? I could not find anything in the documentation regarding how to ...
2
votes
0answers
82 views

ArcGIS Full-Text search

I've set up Full-Text searching on a table in my SDE database (ms sql backend). I can perform the full-text commands from SQL queries, but it doesn't seem to work in ArcMap or any rest services. I ...
1
vote
1answer
195 views

Consuming Forecast.io Radar Data in an API or ArcMap

I want to consume forecast.io's radar data as an ArcGIS Server REST or JSON to use in an API or ESRI's ArcMap GIS Software. MapBox is doing it here. I don't think forecast.io is currently making the ...
0
votes
1answer
397 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 ...
0
votes
1answer
54 views

Poor Temporal Raster Performance over REST

When trying to consume temporal rasters (float values) served from ArcGIS Server over a REST endpoint, the results served up are "wonky". One or two time steps will deliver data as expected but in ...
1
vote
1answer
414 views

Layer sets not enabled after change style via REST.

I changing layer's style via REST api: curl.exe -v -u new_user:123456 -XPUT -H "Content-type: text/xml" -d ...
3
votes
2answers
774 views

Maximum number of record returned by the server. Why 1000?

Why in AGS "maximum number of record returned by the server" is set to default 1000? What happens if I increase limit to 100000 or 1000000 in 100 services?