Hot answers tagged

5

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.


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

1) Add a new geometry column: ALTER TABLE mytable ADD COLUMN geom geometry(Point, 4326); 2) Update the new column with the geometry from your long and lat columns: UPDATE mytable SET geom = ST_SetSRID(ST_MakePoint(long, lat), 4326);


3

If you already have a GeoServer 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


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

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: $(...


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

I export the SLD from QGIS 2.2 and I am running Geoserver 2.6. For the export from QGIS to work, I change the se:SvgParameter into sld:CssParameter. Generally using SDL 1.0 instead of 1.1.0 prove to simplify some of the issues of transferring the symbology form QGIS to Geoserver in my case. But this will depend on the versions of the software you have. ...


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

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