Questions tagged [geoserver-manager]

geoserver-manager is GeoSolutions Java client library for GeoServer

0
votes
0answers
25 views

Preview layers in GeoServer using OpenLayers instead of downloading WMS file

When am trying to preview a layer in GeoServer it opens up window that command to download WMS file to preview the layer. How do I preview layers in GeoServer using OpenLayers instead of downloading ...
1
vote
2answers
106 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 ...
2
votes
1answer
228 views

Scripts menu not shown on GeoServer Web Admin Interface after installing the Scripting extension

I want to run a custom WPS processing on GeoServer. I followed the tutorial http://docs.geoserver.org/stable/en/user/community/scripting/index.html to install and enable Scripting extension on my ...
0
votes
2answers
895 views

Using Geotools or GeoserverManager to add a layer using just an URL

Lets say I have just an URL to a Layer in OpenLayers format: http://www.geoservicos.ibge.gov.br/geoserver/CREN/wms?service=WMS&version=1.1.0&request=GetMap&layers=HidrogeologiaRegiaoNE ...
3
votes
0answers
185 views

Problem with setting style for a specific layer

I'm trying to publish a layer using a geoserver rest library (geoserver manager), but nothing works. First I tried this piece of code: String srs = "EPSG:29193"; GSFeatureTypeEncoder feature = new ...
1
vote
1answer
164 views

GeoServer Manager: how to change description of stores?

Here is my code to upload a new layer from a shapefile (zipped): boolean exists = reader.existsDatastore(workspaceName, storeName); if ( !exists ) { File shapeFile = new File( "path/to/...
1
vote
1answer
81 views

how to define user role relationship in geoserver?

I created the user 'Auser' in geoserver and define the roles Aread, Aadmin and Awrite where Awrite is inheriting the rights of Aread. but when I click Auser to pick the roles from service it gives me ...
1
vote
0answers
94 views

Geoserver API - Move layer to different workspace

Is it possible to move raster layer with coverage store to different workspace using geoserver rest api? I suspect that i can remove layer and publish it again but maybe there is a simpler way?
1
vote
3answers
5k views

3D Map Visualization in Geoserver

I am using Geoserver 2.4.0 to view the UK map in my web map application by using the openlayers and wms service. Now I am looking into view the terrain data in 3d with WebGL enabled browser and got ...
2
votes
1answer
724 views

Validate StyledLayerDescriptor (SLD)

What is the best way to validate SLD? I'm using geoserver-manager but i cannot find any method to validate SLD. Even if i publish invalid SLD over geoserver-manager the response is 200 OK but it is ...
1
vote
1answer
1k views

GeoServer REST API bug - “The specified coverageName is not supported”

I've encountered a problem with GeoServer REST in both 2.6.2 and 2.5.4 (though not, interestingly, in 2.3.1). When adding a GeoTIFF with a path accessible to GeoServer, the server replies with: The ...
1
vote
0answers
341 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 ...
0
votes
1answer
889 views

How to restrict access to GeoServer webapp to Localhost in Tomcat 7

I am currently running Tomcat 7 on a Windows Server 2008 machine. I have GeoServer 4.2.1 installed as a war. What I need to do is restrict access to GeoServer Manager only to Localhost. As it ...
4
votes
0answers
453 views

Geoserver creating SqlView Layer with Geoserver Manager?

I would like to register a new sql view layer to geoserver through the rest api. I am using geoserver-manager. The registration is ok, the layer is working fine, except wms getFeatureInfo, which ...