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.

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
568 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 - ...
3
votes
0answers
346 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" ...
3
votes
0answers
119 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.
3
votes
0answers
395 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 ...
3
votes
0answers
892 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: store=("<...
3
votes
0answers
526 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 ...
2
votes
0answers
37 views

Creating GeoJSON REST service

I'm trying to create a GeoJSON REST service from a PostgreSQL connection. First I fetch GeoJSON as a string from PostgreSQL: import java.util.*; import java.sql.Connection; import java.sql....
2
votes
0answers
79 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/...
2
votes
0answers
457 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 ...
1
vote
2answers
129 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 ...
1
vote
0answers
103 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 ...
1
vote
1answer
108 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 ...
1
vote
0answers
123 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 ...
1
vote
0answers
301 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 ...
1
vote
0answers
144 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 ...
1
vote
0answers
139 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
0answers
904 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 "Content-...
1
vote
0answers
93 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
0answers
133 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
0answers
568 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
246 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 ...
1
vote
0answers
164 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 ...
0
votes
0answers
45 views

ArcGIS Server REST API Query - Where date strings are greater than

I am working with an ArcGIS Sever 10.41 rest service that contains many scientific records. These records have a date field called sample_date but it's stored as a string. See below. sample_date ( ...
0
votes
2answers
286 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
0answers
50 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 ...
0
votes
0answers
70 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 ...