Stack Exchange Network

Stack Exchange network consists of 175 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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [geoserver]

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

0
votes
0answers
5 views

How to import a GeoJSON file from GeoServer using OpenLayers

I am a novice with coding, I have been trying to import the layer that I created in GeoServer. I need to use OpenLayers. This is what I have so far. Please assume that I know close to nothing. ...
1
vote
1answer
299 views

SVG external graphic fails in Geoserver

I'm using Geoserver 2.6.2. I need to use a SVG file as an external graphic to style a points layer. When I open the WMS layer in QGIS, the points are not displayed. This is not happening if I use a ...
0
votes
1answer
21 views

is it possible to show all labels of WMS layer at any extent without SLD ol5?

I am showing WMS layer that shows label on it by defining SLD in GeoServer. The problem is that is is not showing all labels at particular extent. But when I zoom in, all labels are displayed. My ...
0
votes
1answer
1k views

Change Title Of Geoserver Legend Decoration

My colorramp legend's title gets set to be the layer's name. I'm wondering if I can override this and set the title explicitly. For example let's say I want to change the colorramp's title from "...
1
vote
1answer
832 views

How can I change layers visibility while I zoom in GeoServer?

I want to change layers visibility while I zoom , here are my screenshots. where is my error ?
0
votes
1answer
86 views

GOES-16 - Make Image fit US

I've searched through the posts here and can't seem to figure this out. I am pulling in netCDF's from here, and processing them to display on a map. So far I have it in a GeoTIFF format that I can ...
0
votes
1answer
132 views

ValueError using MapProxy decorate image middleware with WMS

I am successfully using Mapproxys decorate image middleware to apply a watermark to WMTS tiles. I am using the following code: def annotate_img(image, service, layers, environ, query_extent, **kw): ...
0
votes
1answer
17 views

Failure to publish WFS layer in GeoServer

I have created a WFS store in GeoServer and am able to see the layers from the web feature service, when using the 'add new layer' function in GeoServer. However when I next attempt to publish one of ...
1
vote
0answers
27 views

Very slow loading while fetching WMS layer as image/svg ol5

I want to fetch WMS layer as SVG image but it is loading very slow. How to resolve this issue? Here is my code var grid_10hact = new ol.layer.Image({ title: '10 Hactare Grid', source: new ol....
0
votes
1answer
35 views

Change the look of GeoServer welcome page

Does anyone know how to change the look of GeoServer welcome page? I need to know where to change it.
1
vote
1answer
73 views

FilterFactory2 overlaps/intersects

I am creating WPS for measuring area of two overlapping polygons. Its working fine but now I want to implement FilterFactory2 . I am not sure if use Overlap or Intersect method and than, how to feed ...
0
votes
0answers
23 views

WMS not displayed in ArcGIS Online?

I tried to access the WMS request through the ArcGIS Online which is published in geoserver. The WMTS request of the same data is coming fine without any issues. When i checked the geoserver log i'm ...
0
votes
1answer
474 views

Trying to get WMTS layer in Leaflet, but get error 400 (out of range)

I'm trying to use https://github.com/mylen/leaflet.TileLayer.WMTS to get a wmts layer into my leaflet map, but the error 400 is generated and when I look at the tile it says out of range. While ...
0
votes
0answers
27 views

How to find measure from geometry using PostGIS or GeoServer (Linear Referencing)

I'm using OpenLayers with GeoServer and PostGIS. I'm looking for a way to get measure from geometry. I mean if a user clicks on a feature as line route on the map (geometry), we can find it's measure ...
0
votes
1answer
85 views

How to represent an object at 25 differents dates

So basically, I have a map at day D. On this day X objects are represented with a color and full opacity. What I'd like to do is to be able to represent on this map the Y objects present on the map ...
0
votes
1answer
51 views

Openlayers error: Uncaught TypeError: t.getLayerStatesArray is not a function

I am getting the following error in the yellow background below. Can anyone explain why i get this? I am not using any bundler i include the ol.js javascript file in the footer Group.js:209 ...
0
votes
0answers
16 views

Creating GeoServer layers from GeoJSON generated by PHP script

I have few layers on my map rendered with ol.format.GeoJSON. I generated GeoJSON from pgsql database with PHP scripts. The size of layers ranges from 1MB to 5MB so to speed up the process I want to ...
0
votes
0answers
14 views

CORS Error while fetching data from GeoSever [duplicate]

I am trying get data from GeoSever WMS layer using GetFeatureInfo it returns HTML format data. In browser I am getting response, but when I am trying fetch from application getting CORS error. Below ...
1
vote
2answers
92 views

Uncaught SyntaxError: Unexpected token < (Geoserver popup in leaflet using ajax)

I am trying to show attribute information of features in a popup from my postGIS db tables via Geoserver WMS. I have successfully been able to add these layers to the map. However, when I try to grab ...
0
votes
1answer
28 views

Blank screen when using tiled wmts in Geoserver and Openlayers

I am currently following the book GeoServer beginners guide (ISBN: 978-1-78829-737-0). I am on chapter 8 and have been using the following code sample from the book: <!DOCTYPE html> <html>...
0
votes
1answer
126 views

How to print ArcGIS tile map using MapFish print

I could able to configure a MapFish print in GeoServer and also did some printing map from OSM. I need to print a map which is from ESRI Mapserver. Is there any way to do it? Working example: layers:...
0
votes
1answer
1k views

“Display Background value ”0“ raster”

While publish raster layer in geoserver it shows background as black. How to remove the black color. if there is any options to permanently remove the black color.
0
votes
1answer
132 views

OL3 gwc background layer does not align to gridset, works in OL2

I'm using GeoServer 2.10.1 and its built-in GeoWebCache and am trying to use a cached background layer in a custom gridset with a local epsg to work in a simple Ol3 app: proj4.defs("EPSG:3010","+proj=...
4
votes
1answer
85 views

Unable to draw in WFS-T

I've been trying to build my own WFS-T and followed the tutorial from https://medium.com/@goldrydigital/wfs-t-with-openlayers-3-16-6fb6a820ac58. I have copied the code as closely as possible. The code ...
0
votes
1answer
82 views

Missing 'Spec' Parameter using print.pdf on GeoServer Print Module

I have two configurations of Tomcat with the same version of GeoServer and the print module installed as below. The old configuration is Tomcat 8.0.44/GeoServer 2.11.1 The new configuration is ...
1
vote
1answer
30 views

GeoServer GeoWebCache produces incomplete or partial tile cache

I have looked at previous threads regarding this topic, but did not find the exact problems described - but they might be related - in short: I have the new GeoServer 2.15.0 and configured the ...
1
vote
1answer
26 views

Change domain URL for printURL and createURL

I have a GeoServer Service enable on my Windows 10 and I install the extension printing. This URL http://localhost:8010/geoserver/pdf/info.json give me this configuration {[...],"printURL":"http://...
0
votes
2answers
1k views

Feature table: Mapnik, GeoServer, CKAN, GeoNode, GeoNetwork?

I'm trying to get a clear view of the roles of different components here, this is not a "which is better" comparison, these components have different roles, but their functions overlap. (Comparing ...
1
vote
1answer
35 views

WFS: how to do relative dates?

How would you query a WFS using relative dates/ranges in a single URL call? For example, I can do this: https://my.server/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&...
0
votes
0answers
14 views

Application schema denormalization

Is it possible to denormalize relation between non feature type and feature type? So the result is a feature type. Here is an example to demonstrate my needs: I have two table stations & ...
0
votes
1answer
115 views

request two layers in search action of one PanelForm

here's my case: i have a panelForm with 4 fields, and a search button, that search for the features that correspond to the 4 fields given by the user. and i have two layers that both contains the 4 ...
1
vote
1answer
71 views

Can't add VectorTile in Openlayers 4

I'm trying to add a vector tile layer in my app using Openlayers 4 , but I'm getting the error as follows , ol.js:753 Uncaught TypeError: a.replace is not a function Here is my code to add the vector ...
2
votes
1answer
1k views

Label styling applied in Geoserver are not being applied to WMS layer in Openlayers

I am trying to label a layer of line vectors using SLD in Geoserver. It is simple enough, and it's pretty much copied from the SLD cookbook: http://docs.geoserver.org/latest/en/user/styling/sld-...
0
votes
1answer
44 views

Create a spatially restricted sub layer in GeoServer 2.14.1

I have a vector layer with points across a whole state served by WMS. I would like to limit access to particular areas within the state (e.g. spatially via bounding box). Each bounding box would be ...
5
votes
2answers
2k views

Publishing QGIS project on GeoServer?

Is there a way to prepare a project on QGIS with many layers and to publish it under WMS service on GeoServer?
0
votes
2answers
117 views

Security of GeoServer WMS layer URL

How can I secure my WMS layer URL on GeoServer as whenever a WMS layer is loaded from GeoServer than the layer URL can be easily seen in the browser console?
0
votes
0answers
18 views

Embedded GeoWebCache in active cluster with shared data_dir

I have 7 instances of GeoServer with active JMS Master/Slave p2p cluster setup and data_dir shared by NFS on RHEL 7 machines with XFS over LVM. I want use embedded GeoWebCache and encountering, I ...
0
votes
1answer
15 views

Create new properties when updating a layer

I'm trying to update a property that doesn't exists in my current database, and I want that if he doesn't exist - then create it with my value and only for this specific layer. For example - I have a ...
0
votes
1answer
16 views

Sending a WFS-T request

I have a geoserver which I want to edit using c-sharp, I managed to retrieve information from it, but I haven't found a way to make any changes - I know that there is WFS-T but I haven't found a way ...
0
votes
0answers
21 views

GeoServer GeoWebCache and ArcGIS problem - error with row number

I have a local OSM WMTS layer (GeoWebCache in GeoServer). The OSM layer CRS is EPSG:3857. It is served in three different tile matrixes. First tile matrix has CRS EPSG:3857, second tile matrix - EPSG:...
0
votes
0answers
58 views

GeoServer returns 401 unauthorized when requesting data via openlayers

When using the line crossOrigin: 'anonymous',, it returns 401 unauthorized response. When commenting out that line it works, but I have to be log in to the GeoServer. Update: I have changed the ...
0
votes
0answers
20 views

GeoWebCache tiles like chessboard

We are generating cache from external WMS. In some zoom levels (17, 18 and up) all map is like chessboard, some tiles are ok but some tiles are just blank. When zooming in or out, different tiles are ...
0
votes
1answer
25 views

GeoServer - Render style of points based on URLs saved in a field of the table using YSLD

I am new to styling in GeoServer and was wondering if there is a way to style points in a table based on the external URLs defined in one of the fields in that table. Let's say I have a table in ...
0
votes
0answers
14 views

Cannot display GeoServer vector tiles when serving web map using IIS [duplicate]

I am currently developing a web map with Mapbox GL JS. I have been adding layers to the map from GeoServer using the following url: "http://localhost:8080/geoserver/...". When opening the map in ...
1
vote
0answers
23 views

Organizing large numbers of vector layers with GeoServer

I have a large number (100,000+) of vehicle GPS paths in a PostGIS database. I need access to all of them on my web page, however, I don't usually need to view more than a handful on the map at any ...
1
vote
1answer
27 views

GeoServer 2.14.0 / Cascading / WMTS : Can't parse crs IGNF:LAMB93:Authority “IGNF” is unknown

I want to cascade a WMTS service (IGN France) with my GeoServer 2.14.0 : https://wxs.ign.fr/pratique/geoportail/wmts?SERVICE=WMTS&REQUEST=GetCapabilities 1) The URL works just fine in QGIS (2.14....
0
votes
0answers
15 views

SLD point style - different styles on two different attributes

I need to style a WMS Geoserver layer using SLD. The layer is a point layer that represents trees. The "basic" style is a green point: <FeatureTypeStyle> <Rule> <Name>rule1&...
26
votes
8answers
4k views

Any low-cost Virtual Private Servers able to run GeoServer?

I'm looking at virtual private server hosting options for GeoServer. At a recent conference, the most often cited cost of such servers was around $50/month. I've found a few places that advertize ...
-1
votes
0answers
15 views

Portal for ArcGIS opensource analogs [duplicate]

I need to build enterprise GIS infrastructure. As DB I will use Postgres+PostGIS. As GIS server I will use GeoServer. I need something to build portal like Portal for ArcGIS from Esri. I think about ...
1
vote
0answers
446 views

geoserver geowebcache bad request

I use geoserver war 2.4.5 on tomcat and internal geowebcache 1.5.0. My server is MS Server 2008. All software works on 64 bit. My geoserver work perfectly with wms,wfs but when i want to do tile cache ...