The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
95 views

How to update projection of layers in Geoserver using gsconfig

Im using following code to find projection of layer from geoserver.catalog import Catalog cat=Catalog("http:// localhost:8080/geoserver/rest") myResource = cat.get_resources(store='storeName', ...
2
votes
0answers
19 views

wms layer cant see when I zoom

I have read many tipps for the problem "layer bacome cloudy when zoom", but it doesn't work still. Where is the problem in my source? var wms = new OpenLayers.Layer.WMS( "Földrengések", ...
0
votes
0answers
39 views

Changing Style of Layer in GeoServer REST API (PHP)

I would like to change the layer's style via REST. My problem is very similar to here and here. Running the following via curl works: curl.exe -v -u user:password -XPUT -H "Content-type: text/xml" ...
0
votes
0answers
14 views

GWC tiles doesn't deleted when I change one layers style that is associated with group layer

Normally it should clear all cache from grouplayers when ever I change the syle which is associated with the layers. I think I do some mess-up with configuration. so how can I get it working back?
2
votes
0answers
48 views

geoserver manager tutorial add new WFS layer [closed]

GeoServer Manager is a library to interact with GeoServer 2.x. I want to use it. but I didn't find any appropriate documentation for it. Can anyone help me by some tutorial or example? here is a few ...
2
votes
1answer
44 views

How to create layer group in geoserver with gsconfig?

How can I create layer groups using python gsconfig ?
0
votes
1answer
11 views

creating a feature type using rest/ php (geoserver)

im trying to create a feature type for a ship in geoserver but when i post the request to the server i get this response [geoserver.rest] - Trying to create new feature type inside the store, but no ...
0
votes
1answer
34 views

Clear resource cache via REST in Geoserver

Is there a way to clear the Geoserver resource cache using REST? Same as "Server status" > "resource cache" > "clear" in the Admin UI.
1
vote
1answer
28 views

create a geotiff datastore in geoserver

im able to create a data store in geoserver but when i try to access it in the geoserver admin console i get this error : can't load chosen data, verify that the loader module is installed (sorry ...
2
votes
1answer
38 views

geoserver create a datastore using php and rest api

first of all i hope you forgive my bad english, im trying to create a datastore in geoserver using php so can you please give me an example that can guide me to achieve it. thanks in advance ...
0
votes
1answer
21 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
50 views

Geoserver Extension access restriction with proxy nginx

I have installed Geoserver on my server. And I have proxy server(installed nginx) to access Geoserver. location /geoserver { proxy_pass http://127.0.0.1/geoserver/; } ...
2
votes
1answer
74 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
29 views

how to set default style from particular workspace using gsconfig?

I'm able to set default style for any layer using below code cat = Catalog("http://localhost:8080/geoserver/rest", "admin", "geoserver") layer = cat.get_layer("layer_name") ...
0
votes
0answers
43 views

Setting default style in any layer on GeoServer?

I am creating layer on GeoServer using curl from my PHP application, and layer is creating but in this layer there is not any default style is assigning to this layer so can you please let me know how ...
1
vote
1answer
72 views

problem in geoserver rest api

I want to user geoserver rest api in netbeans. i create new Maven Web Application project: and then edit pom.xml like following: add repository: <dependency> ...
1
vote
0answers
35 views

can not use geoserver rest API with geoserver-manager

I want to use rest API of geoserver with geoserver-manager plugin. In netbeans I create a new web application maven project: then in pom.xml file in dependencies I add bellow dependency: ...
2
votes
1answer
122 views

Geoserver Datastore Property Update via REST API

I am trying to change the properties of an existing Geoserver data store via the REST API. I have created the data store from an existing folder of shapefiles. However, I need to change the "charset" ...
2
votes
2answers
295 views

How we can get output for os.system() in python?

I wrote the following command in Geoserver rest-api using curl: cmd=curl -v -u admin:geoserver -XGET -H "Accept: text/xml" ...
1
vote
1answer
98 views

Cannot login GeoServer after choosing to install as service?

I work on windows7. While installing GeoServer, I selected the 'install as a service' option. As I know when I installed GeoServer as a service, geoserver is already running. But I nagative to Web ...
3
votes
1answer
94 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
1
vote
0answers
14 views

Geoserver - Disallowing unauthenticated user from using getLegendGraphic Service

I created a geoserver rule as ADMIN and *.* for allowing an authenticated admin to see all services and functions. Why does Geoserver allow Geoexplorer to retrieve the legend images for saved maps ...
0
votes
1answer
66 views

Geoserver REST API: Duplicate layer name

Using the web admin page, I created two layers in different workspace but with the same name: In the admin view I see something as this Workspace Store Layer Name WK1 PostGIS1 ...
3
votes
1answer
103 views

How to get layers from a specific store of geoserver using python gsconfig?

I'm using gsconfig python library to acess geoserver rest, my question is how can i get layers from a specific store ? I'm tried as follow: from geoserver.catalog import Catalog ...
0
votes
1answer
55 views

Bounding Box in CuRL Tool(REST API)

I have set my time interval using CuRL tool for automatic Geowebcache.. How to set bounding box in curl command?
0
votes
0answers
95 views

How to return data layer using geoserver rest api?

I'm starting to use the Geoserver Rest Api, testing by the browser. I had success with the following commands: http://localhost:8080/geoserver/rest/workspaces ...
3
votes
1answer
84 views

How to choose workspace when uploading SLD to Geoserver with the REST API

I have 200+ SLD's I would like to upload to Geoserver using the REST API. I successfully uploaded an SLD using the gsconfig Python module. However, I would like to be able to set the workspace when ...
4
votes
1answer
182 views

Data Security for Geoserver - Users errantly seeing Workspaces not assigned to them

I'm having trouble with Data Security in my Geoserver 2.5 application. Let me preface my situation. I am using Geoexplorer composer which is making GeoServer API calls through ows and wms. I have ...
0
votes
2answers
173 views

How to set default style of layer using rest api in Geoserver

Hello friend, I want to change the default style of the layer in Geo server using the REST API.For this i get this code curl -v -u admin:geoserver -XPUT -H "Content-type: text/xml" -d ...
1
vote
0answers
112 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 ...
0
votes
2answers
61 views

Geoserver DATA_DIR relative path

I am using REST API with curl to populate geoserver with layers on the server. I am not setting GEOSERVER_HOME so Geoserver itself decides what the actual path is. However, when I download the ...
1
vote
1answer
58 views

How to tell if GeoWebCache REST API is working?

In my web application, i wanted a service to cache updated data using geowebche. so i worked on seeding tiles automatically with GeoWebCache as in this post: custom time interval for geowebcache then ...
0
votes
0answers
41 views

Not able to display fill symbol with other styles except esriSFSSolid

I am using a Unique Value Renderer and the only time I see the Simple Fill Symbol display the fill is when I use esriSFSSolid style. Other styles don't display any fill when used with rest api, just ...
3
votes
1answer
108 views

GeoServer automate “reload feature type”

Using GeoServer, if you add a feature type bound to a SQL table that is empty, when you then populate that table no data shows up in layer preview. Clicking the "reload feature type" button corrects ...
0
votes
0answers
173 views

Update WMS layer with time dimension

I have a time series of MODIS images that I serve as WMS with the time dimension option. I successfully created the store following this tutorial and I can load the layers and set the time variable. ...
0
votes
1answer
521 views

Geoserver with Openlayer map showing problem

I have a Geoserver runnning at 8888 port and url is http://localhost:8888/geoserver. I can browse any layer created by my custom data. ...
0
votes
0answers
71 views

Is it possible to select a service (WMS / WFS) through the Geoserver REST-API?

Is it possible to select a service (WMS / WFS) through the Geoserver REST-API? I know how to add a workspace through the REST-API, like this curl -v -u admin:geoserver -XPOST -H "Content-type: ...
1
vote
0answers
56 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
0answers
113 views

How can I ensure srid is properly set on Postgis when importing shapefile?

I am uploading a shapefile to Postgis via Geoserver rest api but I end up with querying issues especially with srid i.e "ERROR: XX000: Operation on two geometries with different SRIDs". The import has ...
0
votes
1answer
129 views

can we update imagemosaic layer with geoserver rest api?

I am new to GIS and geoserver. I am trying to add and modify imagemosaic layers to geoserver with geoserver rest api. Actually I could add the layers. But I have modify them with rest api while adding ...
1
vote
1answer
268 views

GeoServer - set declared SRS with rest api

I am using a c# application that creates and update featuretypes in Geoserver via REST. I need to set the declared srs, but I couldn't find how to do so.
0
votes
1answer
42 views

How to retrieve the attributes of the clicked line or polygon feature in Geoserver

In geoserver, I'd like to retrieve the attributes of a feature that is clicked by the user. When the feature is a point, I can simply use the bounding box parameter of GetFeature method to get the ...
1
vote
3answers
173 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: ...