Hot answers tagged

5

If you need to visualize WMS and WMTS are the protocols to use. WFS is meant to transfer raw data with full geometries and attributes, which a client software (not a human) can then either visualize on its own (try for example QGis as a WFS client), analyze and eventually edit, saving back the changes via the WFS Transaction call. OGC in general provides ...


4

AWS is a set of virtualized hardware that looks like a computer to you and others. GeoServer is a piece of software that converts spatial data into web maps, it can run on an AWS instance.


3

Based on my reading of this question you should be able to do: name = "layer_name" workspace = "my_workspace" cat = Catalog(location, user,pass) resource = cat.get_resource(name, workspace=workspace) if type(resource) is geoserver.resource.Coverage: ... elif type(resource) is geoserver.resource.FeatureType: ... Or possibly: if isinstance(resource, ...


3

You can also switch off WFS-T for your service by going to the WMS menu page (Services->WMS) and changing the service level from Complete to Basic.


3

There are multiple ways of achieving this: Use Geoserver's Service Security Connect to the PostGIS table with a user who only has Read-Only access on the Table. Ideally you should do both.


2

You can create these files anywhere that you do have write permission and then move them. You could use some GeoTools code to construct the image pyramid as a user that does have write permission.


2

In the imagemosaic setting (in the layer page), try setting "output transparent color" to black


2

Does the data get reprojected? Typically when I reproject raster to a different coordinate system I get black edges like that, because the raster file itself is rectangular, but the area covered by the reprojected data isn't. The black parts are areas of 'nodata'. If it's an issue of the look of the thing, perhaps you can make nodata transparent or white?


1

If you already have a GoeServer WMS service, then the most straightforward way is to use the getFeatureInfo capabilities of the WMS protocol. See https://github.com/heigeo/leaflet.wms and http://docs.geoserver.org/latest/en/user/services/wms/reference.html#wms-getfeatureinfo


1

look closely, and you'll see the problem, hiding in plain sight... <!--Parser Error: syntax error, unexpected COLUMN_REF, expecting $end - Expression was: Land use 2 = 'Residential buldings'--> I suspect you'll need to edit the SLD to rename the field name, e.g. "land_use_2". How you do this depends on the format you're importing from (shapefile, ...


1

GeoServer (by default) doesn't make primary keys available to the renderer as they are usually just a simple integer or UUID so are of no real use for rendering. There are two solutions to your issue add a serial column to your table for use as the primary key. ask GeoServer to expose primary keys for you.


1

Nowadays GeoServer releases are automated in our build server and the instructions do not get into the details of building an installer, but this old guide from the times when things were done by hand might provide you instructions on how to get an installer done: https://github.com/geoserver/geoserver-history/blob/master/doc/en/developer/source/release-...


1

If you read the strReplace documentation you will see that it is a thin wrapper around the Java replace method and provides a link to the Pattern Rules. This means that your function: strReplace(iconPath,'.','/',true) will replace every character (a . matches any character) in iconPath with a / - clearly not what you want. I would try something like: $(...


1

You need to PUT an updated FeatureType document with the new bounding box set in it. So your workflow is something like: curl -v -u admin:geoserver -H 'Accept: text/xml' \ -XGET http://localhost:8080/geoserver/rest/workspaces/topp/datastores/states_shapefile/featuretypes/states.xml Then edit the Bounding box to your new value and delete the lat/lon ...


1

You'll find the parameter on the feature type resource: http://docs.geoserver.org/latest/en/user/rest/api/featuretypes.html#recalculate



Only top voted, non community-wiki answers of a minimum length are eligible