Representational State Transfer (REST)

learn more… | top users | synonyms

0
votes
0answers
22 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
22 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
28 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
43 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
1answer
169 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: ...
4
votes
2answers
10k 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", ...
0
votes
0answers
44 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) ...
0
votes
0answers
18 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 ...
6
votes
4answers
6k 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
130 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
1
vote
1answer
123 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
65 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 ...
0
votes
1answer
198 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 ...
2
votes
0answers
80 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" ...
1
vote
2answers
228 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 ...
8
votes
1answer
499 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
5k 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
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
161 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 ...
4
votes
2answers
1k 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
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 ...
2
votes
1answer
134 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 ...
18
votes
9answers
6k views

How can I implement ESRI REST API?

ESRI announced that they are releasing the ArcGIS REST API as open technology. I've got an ISP running Sql Server 2008 with IIS7. Does anyone know of a good walk through showing how I can write C# ...
2
votes
2answers
552 views

ArcGIS Server Object Extension for Analyzing Linearly Referenced Data

I have just begun learning about the ArcGIS Server Object Extension (SOE) capabilities, specificially with ArcGIS 10. Is there an example available of an SOE that can return information about ...
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
53 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
47 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
1answer
129 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: ...
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
195 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?
8
votes
3answers
1k views

Use Esri Geoservices REST as backend for Python web framework (Django?)

I would like to know if it's feasible to use an existing Python web framework such as Django/GeoDjango as a frontend to work with Esri's Geoservices REST API? I envision developing a database engine ...
1
vote
1answer
96 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
308 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
143 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
588 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 ...
0
votes
3answers
457 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
1answer
356 views

Are folders always part of ArcGIS Server REST API service name?

I'm using an ArcGIS REST map service, and my question is how do I construct the URL to the service? Specifically, what relationship is there between the Service Name, the Test Server, and the folder ...
2
votes
1answer
305 views

Why do tiles seems to jump around when using ArcGIS cache layer in Openlayers? [closed]

I am use Openlayers to add ArcGIS tilecache layers using arcgiscache class or another way which is jsonp. I can show the map properly, but when I pan, zoom or drag the map, the tiles seem to jump ...
1
vote
1answer
168 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 ...
1
vote
1answer
488 views

OpenLayers ArcGIS Image Service Support

i have ArcGIS Image Server for publishing my raster data to my user. In traditionally way i have been tiling with gdal and it takes a long time besides this it requires more effort for getting true ...