Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [geoserver]

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data.

0
votes
1answer
16 views

GeoServer error on styling line width relative to zoom level

I've applied MBstyle (gs-mbstyle-2.13.2, gt-mbstyle-19.3) extension for GeoServer (2.13.2) to style layers in mvt format. It works fine for simple styling but the problem occurs when I want to set the ...
0
votes
0answers
21 views

Update Legend on Openlayers Based on Active Layers from Geoserver [on hold]

I have an OpenLayers web-app pulling in WMS and WFS data from GeoServer, a layer-switcher is also present to toggle specific layers and re-arrange their order(Z-index) using ol-ext. I would like to ...
1
vote
1answer
24 views

Adding data from Mongo to GeoServer?

I'm finishing my last degree on informatics but I'm having trouble getting Tiles/Layers. I have a DB on MongoDB - with this Schema (GeoJSON) db.stations.insert({ "name": "station 1", "...
0
votes
1answer
19 views

OpenLayers/Geoserver rendering transformation is failing at the Prime Meridian

I have a layer that represents surface pressure in GeoServer. I am using a rendering transformation SLD to generate the contours. When I try to map it in OpenLayers, the contours show up fine when ...
1
vote
0answers
16 views

Serve a subset of OpenStreetMap as a WMS from GeoServer?

I am trying to develop an application which should serve a small subset of OSM as a WMS for only my study area. I need it to be able to load higher-resolution tiles as the user zooms in. I'm feeling ...
3
votes
1answer
50 views

Geoserver's scale values corresponds to OL's zoom levels

I have a PostGIS table that contains geometry, min_scale, and max_scale fields. The PostGIS table is published as a Geoserver layer with EPSG = 4326. I have created a CSS Style Doc that will show each ...
0
votes
0answers
21 views

How to show labels only at the straighter parts of a line while using x-followLine option in the style in GeoServer

We are running GeoServer 2.12.1. I am trying to label trails in GeoServer and one of the issues I have is that when I try to align the labels along the trail line, the labels look skewed at the ...
0
votes
1answer
29 views

Geoserver cql_filter on wms json/vector requests

I'm trying to make a cql filtered wms request for a non image based format like geojson or mapbox vector but the filters aren't applying. If i change the format to image/png the filters behave as ...
0
votes
1answer
23 views

Publishing from ArcMap to GeoServer?

I have read few papers to get through the process in GeoServer and still lost at it. My current situation is, I have a hotspot analysis that is done in ArcMap. How can I publish it to GeoServer?
0
votes
1answer
31 views

Altering SQL View GeoServer from application

I am making an application and I want to access a lot of weather data. Now I want to use the SQL View option to let the WMS layer know which timestamp to use and then it shows me all the data from ...
1
vote
2answers
17 views

Label Lower Left Corner Of Square Polygon SLD and Geoserver

I would like to label the lower left corner of rectangular shaped polygons in geoserver I have looked the the functions and I am wondering how I would set up variable to perform the calculation for ...
0
votes
0answers
15 views

How to remove unnecessary bands from .sid file (keeping file format)

An ImageMosaic layer created from .sid data containing 5 bands has black areas where data is missing and setting transparency parameter in GeoServer does not help as error appears: Error rendering ...
1
vote
1answer
12 views

Geoserver 2.14.0 CSS styling - how to force label rendering similar to VendorOption “partials”

I know that the <VendorOption name="partials">true</VendorOption> SLD directive would fix my issue with labels not rendering in my tiles when I want them to and I would add to my SLD ...
1
vote
0answers
56 views

Export standalone qgis model

I'm totally new to the field of GIS. I want to create some GIS-models and publish them on my website. Therefore the models should be connected to my database to constantly have the most recent data. ...
0
votes
0answers
6 views

Geoserver - Disable WMS authentication for just one layer

I'm using this for reference: https://docs.geoserver.org/stable/en/user/security/layer.html#security-layer I want to set this layer public, without authentication and available for layer ...
0
votes
1answer
27 views

How can I make GeoServer's WMS layer .jar file in Android development Android studio

I'm new in Android development in geoserver's WMS map. Can I get .jar file of GeoServer's WMS layer? I couln't open it though I tried https://github.com/shalperin/android-wms.git
0
votes
1answer
39 views

GeoServer get native SRS of layer

I want to get the native SRS/EPSG-Code of a layer deployed in GeoServer. Maybe similar to this solution: https://stackoverflow.com/questions/32766126/get-the-epsg-code-from-openlayers-3-layer but with ...
1
vote
1answer
33 views

Creating Contours via SLD using the Barnes Surface interpolation in GeoServer

I am trying to make a map with PostGIS and GeoServer, showing weather data. The data that I have is pointdata from observation stations. The data is vectordata. With an SLD using the Barnes Surface ...
0
votes
0answers
27 views

Custom Geotool function that access a GeoServer's Datastore

I'm following this tutorial to implement a custom Geotools function: http://docs.geotools.org/latest/userguide/tutorial/function.html I want to implement a custom Geotools function that should access ...
2
votes
1answer
30 views

How to change GeoServer base URL

GeoServer's web service base URL is http://localhost:8080/geoserver/www/. How can I change it to be just http://localhost:8080/ in order to link a domain name to my machine?
1
vote
0answers
23 views

PNG8 Rendering in ArcGIS Runtime .NET?

I have Geoserver serving cached layers (WMTS) as PNG and PNG8. I am able to render my layers using the runtime in PNG without an issue, but every time I try and render in PNG8 I just get a blank ...
0
votes
0answers
10 views

GeoServer - Use JSON properties in SLD

Is there currently any way to reference a JSON Property of a Postgre DataStore in SLD? After researching and playing with GeoServer, SLD and even the MongoDB plugin all day, the only thing I ...
2
votes
0answers
30 views

Why use GeoServer or Tegola to generate vector tiles from PostGIS rather than ST_AsMVT? [duplicate]

I don't have much experience generating vector tiles dynamically. Instead I use Tippecanoe. I'm looking at generating tiles from PostGIS and see at least three options: PostGIS + Geoserver (with ...
1
vote
1answer
51 views

Openlayers get list of all layers in Geoserver

How can I get a list of all layers deployed in Geoserver separated by Vector/Raster? Similar to how Geoserver itself does this when one uses the WPS Request Builder (it then shows a complete list of ...
1
vote
0answers
11 views

Update imagemosaic store in GeoServer

I have crated an imagemosaic store in GeoServer with a default TIFF image named snow_20091001.tif it is working fine. I can see the layer from layer preview. But the problem is, as it is a timeseries ...
0
votes
0answers
12 views

How can GeoServer transform a 'no RHR layer' into a RHR layer?

We are using GeoServer 2.11.2 and Mapbox. We have many layers that do not follow the rule of the right hand and we need to serve them to other application. The problem is that we have to show in a ...
0
votes
2answers
53 views

GeoServer GeoJSON WMS layer request in Mapbox

I'm creating a Mapbox GL JS web map which pulls GeoJSON layers from GeoServer. I've used the documentation to find my problem lies in the 'GetFeatureInfo' get request URL which follows the following ...
2
votes
0answers
65 views

GeoServer's shared DB connection

I have a PostgreSQL/PostGIS table "geometry_table" that has a 1-to-many relation to another table "properties_table", where each geometry has many properties. These properties hold style values of ...
0
votes
1answer
20 views

GeoServer 2.13.3 unable to delete from Oracle 11gR2 over WFS-T

I'm attempting to upgrade GeoServer 2.9.2 to 2.13.3. GeoServer uses the Oracle Data Store plugin (updated to gt-jdbc-oracle-19.3 as part of the upgrade). Oracle is 11gR2. One of the applications ...
0
votes
0answers
10 views

How to control follow line text repeat in GeoServer YSLD style

I'm trying to label river lines with just one two labels per screen. My GeoServer YSLD style looks as follows: feature-styles: - rules: - symbolizers: - line: stroke-color: blue ...
0
votes
0answers
38 views

OpenLayers can access GeoServer map via localhost, but not when HTML/JS/CSS opened as file

I am developing a practical class in which students will use OpenLayers to build an application which accesses a variety of WMS and WFS resources including ones I am setting up on my own PostGIS/...
1
vote
0answers
27 views

Geoserver's WMS GetCapabilities request takes too long to respond

I have about 300 vector and 30 raster layers in a GeoServer instance (version 2.7.4) and when the client makes a WMS GetCapabilites request, it takes about 3 minutes to receive the response. The ...
0
votes
1answer
32 views

CORS ERROR with own WMS GeoServer layers

I am building a weather application. For this I want to use OpenLayers as the base for my application and then I want to be able to add my own made layers from PostGIS with GeoServer to this ...
0
votes
1answer
39 views

GeoServer error layer preview, styling and tile layers

I have installed GeoServer with Tomcat (both the most recent version). It worked fine for a couple of weeks, but now there seems to be something wrong with the styling of the layers. In the layer ...
0
votes
0answers
14 views

GeoServer dynamic colormap on NetCDF file

I have read the document Dynamic colormap generation , but I still can not display my layer(data store is NetCDF) with dynamic colormap. What I did: Used command "gdalinfo -stats my.nc" to create ...
0
votes
0answers
25 views

Direction of a GeoServer point style based on a field (rotation field) [duplicate]

Is it possible to create a point style in GeoServer that based on a field value in that layer (in this example rotation field with values in range of 0<=rotation<360) show the points rotated in ...
0
votes
1answer
20 views

Geoserver OS MasterMap WMS topoarea error SLD

I'm getting an error when displaying Ordnance Survey MasterMap data through Geoserver as a WMS in QGIS. The error is: <?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport version=...
0
votes
0answers
18 views

OpenLayers 3.10 - can't create Vector Layer and add Features to it in runtime

The goal is to fetch features via WFS and then plot them as LineStrings in a Vector layer, updating them every time the map moves or zooms. It's necessary to fetch with WFS and then plot the Features ...
1
vote
0answers
51 views

GeoServer SLD contours fail to draw some times when panning (using Layer Preview)

I am using GeoServer 2.13.2 with netcdf data from ECMWF and all is working fairly well with a fixed extent. As soon as I turn on Map Wrapping (wrapx) in OpenLayers (5.x) then contours, wind barbs, and ...
1
vote
1answer
38 views

Geoserver How to call existing functions inside new WPS process

I am pretty new to Geoserver and programming processes for it. I having trouble to find the information I need. Is it possible to call a existing function inside my own WPS class? I want to clip some ...
0
votes
2answers
19 views

WPS Chaining problem vec:Clip with vec:Reproject

I want to execute GeoServer WPS process vec:Clip with vec:Reproject. Here's the request <?xml version="1.0" encoding="UTF-8"?> <wps:Execute xmlns="http://www.opengis.net/wps/1.0.0" xmlns:wfs=...
0
votes
0answers
20 views

How to select and highlight a WMS feature? [duplicate]

I'am using GeoServer and OpenLayers 2.13 and I want to select and highlight my features in my web application. Is it possible using WMS features and control "OpenLayers.Control.SLDSelect"? I've ...
0
votes
1answer
21 views

How to improve the performance WPS vec:Clip with srsName in wfs:Query?

I need to export a shape in .zip file with a no native CRS. With the WPS vec:Clip call, the response time is 2.5 minutes. <?xml version="1.0" encoding="UTF-8"?><wps:Execute version="1.0.0" ...
0
votes
2answers
48 views

GeoServer WFS viewParams for complex features

In GeoServer, I installed an app-schema linked to a PostGIS database. When I call the layer via the WFS GetFeature I have an INSPIRE compliant GML file that looks like (small portion of the GML): <...
1
vote
1answer
42 views

WPS fix import of org.geotools.util.factory.GeoTools

I need to import the org.geotools.util.factory.GeoTools import org.geotools.util.factory.GeoTools; but the compiler has issues finding the import. I set up my project using maven with the following ...
0
votes
0answers
14 views

GeoServer animation from env param

I am trying to create an animation using GeoServer animate. I am using a env value in my sld and sending env as aparam and values in avalue. But I am only getting static gif. sld that I am using <?...
0
votes
1answer
19 views

Can not set the GeoServer data directory location

I want to run GeoServer 2.14 with Jetty on a Ubuntu 18.04. I copied the war-file in the webapps folder and GeoServer is responding. Unfortunately I can not set the data directory location as ...
1
vote
1answer
68 views

Getting elevation data in Leaflet [duplicate]

I'm using Leaflet map + GeoServer to display a map. I have a TIFF file and a DTED level 2 file. I created a GeoTIFF store and layer that i'm showing in Leaflet, And I created a DTED store and layer ...
1
vote
1answer
52 views

Image service with GeoServer, PostGIS

I haven't setup or deployed any web services and most help seems to be around vector data... I need input on how to set up and optimize an image service with GeoServer, PostGIS to use in OpenLayers ...
0
votes
0answers
14 views

Geoserver Caching Styles

I have enabled the gwc in the geo server configuration and defined 2 different styles to my cached layer. I also enabled caching of alternative styles. Both styles are selected in the layer publishing ...