Questions tagged [geoserver-manager]
geoserver-manager is GeoSolutions Java client library for GeoServer
14
questions
0
votes
1answer
31 views
Edit an existing SQL view in GeoServer instead of creating a new one
There is a really solid guide to creating new views
https://docs.geoserver.org/latest/en/user/data/database/sqlview.html
But I can't find anything on changing the underlying SQL that populates an ...
1
vote
2answers
329 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 ...
3
votes
1answer
378 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
1k 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
212 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
183 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
99 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
119 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
7k 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
952 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
2k 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
402 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
1k views
Restricting access to GeoServer webapp to Localhost in Tomcat?
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 ...
5
votes
0answers
483 views
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 the WMS GetFeatureInfo, which ...