Tagged Questions
0
votes
0answers
9 views
upload file via geoserver rest and openlayers' application [duplicate]
simple question: by developping an openlayers web application with geoserver, how to upload a file( eg:shapefile) to display it with openlayers; using geoserver REST api???
1
vote
3answers
51 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 ...
0
votes
1answer
43 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 ...
3
votes
0answers
94 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 ...
1
vote
0answers
181 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:
...
0
votes
0answers
67 views
REST error; No such workspace: “workspace”
I recently upgraded to 2.2.2 and I am running in to trouble trying to use the REST api to obtain workspace info. If I enter "http://geoserver.ourdomain.org/goeserver/rest/workspaces/" I get a list ...
3
votes
0answers
163 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
2answers
401 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 ...
5
votes
1answer
197 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
0answers
50 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
217 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
410 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)
{
...
1
vote
1answer
154 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, ...
1
vote
0answers
179 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 ...
2
votes
1answer
250 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
171 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 ...
3
votes
1answer
472 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.
...
2
votes
1answer
975 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
0answers
382 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 ...
3
votes
2answers
418 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 ...
1
vote
0answers
245 views
Does Geoserver automatically calculate parameters of a layer in a coverage store (REST API)?
[RESOLVED] Is it possible to use the Geoserver REST API to automatically create a layer on the basis of an existing coverage store (with the specified path to a file geotiff)? Will Geoserver ...
3
votes
2answers
261 views
Reload Geoserver with REST - password security
I've found the way to reload Geoserver by REST (Geoserver Configuration Reload), but my issue is about security of that solution. My reload request is fired from a bash script periodically, so it's ...
3
votes
3answers
2k 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 ...
2
votes
1answer
302 views
geoserver-cURL-REST error
when I try to create a workspace/layer/store following http://docs.geoserver.org/stable/en/user/restconfig/rest-config-examples/rest-config-examples-curl.html I am getting "System cannot find the file ...
2
votes
3answers
1k views
Looking for Geoserver REST PHP examples
I am in deadly need of geoserver rest php scripts for creating workspace, store, publishing layer etc. I have done a lot of googleing but couldn't find any. In geoserver site only examples using cURL ...
3
votes
1answer
467 views
Geoserver: How do Coverage Stores work?
I'm working on a project at work to download imagery from else where and add it to geoserver. I have no experience in GIS, nonetheless geoserver. I've been hunting through the REST api for 2.0.X of ...
1
vote
1answer
560 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" ...
2
votes
2answers
549 views
Geoserver Configuration Reload
Not quite sure if I should even be doing this. What I am wanting is I will be dynamically generating my sld file and it looks like when you update the sld in the geoserver admin it does a reload. So ...
5
votes
1answer
283 views
Experience with Geoserver's GML Extension
I'd like to know if Geoserver's GML extension works (well) with GeoServer 2.1-RC2 and whether it will enable uploading of GML files via REST API.
4
votes
2answers
789 views
Using GeoServer REST Configuration to add a datastore
I have used the example from the Geoserver REST Docs to add a datastore from at PostGIS database.
I have used the following xml doc to add the new datastore:
<dataStore>
...
7
votes
2answers
2k views
Programming Geoserver 2.0.2 to add a raster data store and layer without the UI
I have a directory of raster imagery that will be updated continually. From this imagery, I am making Image Pyramids using the Geotool's PyramidBuilder utility. I need to setup a cron job to ...
3
votes
2answers
2k views
Using REST service with GeoServer
I have downloaded and installed GeoServer 2.1-RC1 which shipped with RESTconfig. How can i check whether REST service is installed with GeoServer or Not ?
I put this ...