Representational State Transfer (REST)

learn more… | top users | synonyms

1
vote
1answer
416 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
789 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?
1
vote
0answers
29 views

Can anybody give me some advice that why when I am moving or dragging the map,it occurs “jump around”? [duplicate]

I am really tortured and botherd by this issue for a long time,I tried many ways to deal with it,but it seems does't work.The main point is why I drag the map,it shows on the contrary direction or ...
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
0answers
51 views

Geoserver REST missing datastores

When I query Geoserver at http://localhost:8080/geoserver/rest/workspaces/mike/datastores.xml I get no results, but I definitely have a data store under mike/. Moreover, the stock geoserver ...
1
vote
2answers
121 views

How to start an ArcGIS Server 10.0 cached MapService without database connections?

I have a cached ArcGIS 10.0 MapService that I need to start but the DB which was used as the datasource for creating the tiles is no longer available. Is there a way to start the service without ...
0
votes
1answer
312 views

How can i login in Geoserver from application?

I'm looking for advice how to login on Geoserver from php. I found much tutorial how to work with Geoserver through REST api and cURL: create workspaces, stores, etc. But still cant find how to login ...
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 ...
0
votes
1answer
72 views

Apply edits with PHP

I trying to develop a PHP script that will simply applyedits to a feature services. Right now I'm trying to use the In the ESRI restend point example. I'm thinking if someone can help me, point me ...
0
votes
0answers
403 views

Publishing PostGis table using GeoServer REST returns error when geometry column is NOT named “geom”

I tried publishing an existing PostGis table with geometry column named "wkb_geometry" to Geoserver using its REST API. I used the following command: curl -v -u admin:geoserver -X POST -H ...
1
vote
3answers
309 views

How to use the GeoServer REST api to get a PNG representation of a layer?

Does anybody know if I can retrieve by REST service in GeoServer an raster representation of layer? Just like in for ex. ArcGIS REST Api: When I send: ...
0
votes
3answers
436 views

REST backend framework for routing?

I'm looking for a framework in Java or PHP to use it as backend for a mobile application. It should (if possible) implement REST services, geo functions for routing and CRUD services. I found the ...
3
votes
1answer
335 views

Adding feature object to PostGIS feature type from GeoServer

I am trying to set up a system that will post feature objects periodically to a PostGIS db and display them via GeoServer and OpenLayers on a web site. Is it possible to add the new feature objects to ...
3
votes
3answers
2k views

How to start with Geoserver REST api?

i want to start use Geoserver REST api, but have no idea how to use it. In Geoserver docs i found some examples but then use cURL. Google says what cURL its console comand utilite. So i dont ...
3
votes
3answers
489 views

Are there any examples of the Esri GeoPortal REST API in use?

Are they any public examples of sites built on top of the Esri GeoPortal's REST API? I would like to use the back-end functionality of the GeoPortal to manage the metadata, but serve it up using a ...
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
0
votes
1answer
160 views

I want to change using C# the style of a set of shapefiles once I have uploaded them or while I am uploading them

I am using C# and the WebRequest class to create a worksapce and then another WebRequest to create a datastore and upload a folder full of shapefiles to a geoserver. However, I would also like to ...
1
vote
2answers
806 views

Fetch Google Map tile, without using Google Map API

Does anyone here know is there any other way to fetch Google map tile, without have to use Google Map API? Microsoft Bing Map does provide Rest API. wonder if possible to with Google Map, Cheer.
0
votes
0answers
129 views

Re-enabling a web service API call that has stopped working unexpectedly

so we have are running an instance of ArcGis Server, and have a handful of services running. These were set up by someone who is no longer working with the company. Some of them are built into ...
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 ...
3
votes
0answers
270 views

Geoserver REST example not working

I am trying to follow the example to create a new REST service in Geoserver: http://docs.geoserver.org/stable/en/developer/programming-guide/rest-services/implementing.html After building, accessing ...
0
votes
1answer
251 views

Updating the reference data for an existing geocode service

I created an address locator in an ArcSDE gdb, based on data stored in a point feature class in the same SDE gdb. I then shared the locator as a geocode service and am consuming it in a Silverlight ...
2
votes
1answer
966 views

Spatial Data from Postgis to Java/REST with RestEasy + Jackson

I'm developing an application where I take a route from google maps, save it in postgresql/postgis. I'd like to take this route (LineString geometry) and send it back to Google Maps. I already can ...
3
votes
0answers
589 views

Add SLDs to GeoServer using REST API Fails

I have been writing some python code to automatically add data layers from PostGIS to GeoServer and attach a suitable SLD as default. I got this working using the following code: ...
2
votes
1answer
301 views

What resources are there to create a WPS from a web app?

I am developing a web app using the Weight of Evidence method and I need to create a web processing service out of it or enable it for web processing services. The code is in C# and includes an ...
2
votes
0answers
271 views

ArcGIS Server 10.0, Rest Service not showing relashionship class

It's the first time that I am using Relationship Classes for a web mapping project. Everything seems to be set-up properly, meaning I can get the related info out of ArcMap and ArcCatalog when ...
3
votes
0answers
399 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've got ...
3
votes
1answer
259 views

C# Where to create GP service output files

How to get path of default scratch workspace(folder) using c#? I'm making REST GP tool, where you pass some input parameters, tool collects data, create csv files, and archive them. Then tool return ...
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 ...
6
votes
2answers
1k 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 ...
2
votes
1answer
416 views

Can you script publishing a GP service?

I have a geoprocessing service in ArcGIS for Server 10.1. I would like to share this service with a number of external organisations that also have ArcGIS Server 10.1. i.e I dont want them hitting ...
1
vote
0answers
78 views

Implementaion of GSCoverageEncoder for WorldImage in Java

I want to upload a raster image to GeoServer as WorldImage from my Java application. I'm using geoserver-manager v1.4.2 - a Java-based implementation of GeoServer's REST API. It provides convenient ...
1
vote
1answer
442 views

GeoServer REST API Issue: PUT HTTP Method

I've the function below which creates or replaces an existing layer group: public bool AddToLayerGroup(string layerGroupName, string layerName) { try { ...
1
vote
1answer
1k views

Using GeoServer REST API and C# to create Layer Group

Following information at this link in the section on creation of layer groups, I've created the method(C#): public bool AddToLayerGroup(string layerGroupName, string layerName) { ...
8
votes
3answers
483 views

Using ESRI geoprocessing services from a non-ESRI client (Python)?

I'm thinking it should be possible to consume an ESRI Geoprocessing service from a python script without invoking ArcPy or needing an ESRI installation on the client machine. For example I create a ...
1
vote
0answers
125 views

Possible error when adding objects date atributte in ArcGIS rest

I have published in ArcGIS server 10.04 (on win 2008 r2 64 bit + sde + oracle) table ACCESS_LOG on FeatureServer with esriFieldTypeDate field. Then i try to add record with /addFeatures: [ { ...
1
vote
1answer
338 views

Geowebcache REST 404's

I'm running Geoserver 2.1.3 (SVN 16668) and am trying to get REST working with GeoWebCache. I've got :8080/geoserver/rest working correctly, and am able to interact with that side of things. However, ...
2
votes
3answers
748 views

Communication Between Browser and QGIS Server/QGIS API

Suppose I have QGIS server up and running with some vector data. Now a user accesses this data from a webpage. Would it be possible in some ways for the user to send a request to the QGIS Server and ...
1
vote
0answers
325 views

GeoServer REST API Timeout Error

I'm trying to upload a 20MB shapefile using the REST API, but gets a timeout error. I can upload smaller files without problems. I'd like to be able to upload a shapefile of any size without ...
1
vote
0answers
213 views

Geographic limit to overlay analysis in geoprocessing service

Function: I've created a geoprocessing service that serves a toolbox containing a custom python tool. This python tool selects a polygon and buffers it by 1 mile. This buffer is then used to ...
2
votes
1answer
453 views

Uploading unprojected shape files using GeoServer REST API

I have a number of shapefiles that lack the .prj file. I'm able to upload them to geoserver using the rest api. However, I'm unable to serve them after upload. Which brings me to the question as to ...
3
votes
0answers
301 views

GeoServer REST API: Creating Database Data Store does not persist password

I'm passing the XML created by the method below to a GeoServer REST API request that successfully creates a postGIS data store. However, password is not persisted. I have to update the password ...
4
votes
1answer
796 views

How to upload shapefile to PostGIS using cURL and GeoServer REST API

The GeoServer REST API docs here does not detail how to do this. I'd like to create a PostGIS table and corresponding featureType in GeoServer using the REST API, without having to chain requests. ...
3
votes
1answer
3k views

Upload Shape File using GeoServer REST API and C#

I'd like to upload shape files using GeoServer REST API and C#. So far, I can create workspaces using the REST API and C#. From GeoServer documentation (specific to cURL), the difference between ...
7
votes
1answer
1k views

Geoserver GET request to the REST API without authentication

I am using Geoserver to serve a number of WMS layers. I am using jQuery's $.getJson('/geoserver/rest//featuretype.json') to programmatically populate a table with the available layers and their ...
4
votes
2answers
911 views

Adding an external WMS service using REST service with Geoserver

I'm trying to add an External WMS layer to geoserver with a php page, using the REST service of Geoserver. I've already read the tutorials for creating the geoserver features ...
2
votes
1answer
1k views

Using of esriFieldTypeDate field in Add Features REST service?

I need to use Add Features REST service to add a new record to a table in an ArcSDE geodatabase. One of the field is type of esriFieldTypeDate, but I don't know how to populate this field in JSON ...
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 ...
2
votes
1answer
169 views

How to tell if an ArcGIS Service is secure?

I am creating a .NET REST SOE for ArcGIS Server 10, and I will need to determine if a map service (or image) is secure or not. Is there a property on a MapService that would tell me this in either ...
1
vote
0answers
147 views

Viewing Multiple Grouped Data as ESRI Map Service in ArcGIS Explorer Online

I'm trying to add ESRI Map Service to ArcGIS Explorer Online. This map service consists of 3 group layers, one of which contains 3 further subgroups. I tried adding my mapservice to the web viewer ...