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
6 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. ...
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
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
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
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
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
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>...
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
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
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 ...
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
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
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
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
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 ...
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&...
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 ...
-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 ...
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
21 views

GeoServer - Footprint support doesn't work with PostgreSQL indexed Image Mosaic

Running GeoServer 2.14.2 on Linux/Ubuntu I have an Image Mosaic layer using a postgres table as the index. Rather then allowing GeoServer to insert the rows into the table I have a ready created ...
0
votes
0answers
19 views

GeoServer - Imagemosaic/netcdf - Schema 'currdir' does not exist

I am trying to create an Image Mosaic of a set of NetCDF files that is time series based. I have read all the docs on docs.geoserver.org and various other places on the web but have not had any ...
0
votes
0answers
23 views

Geoserver 2.15 error when rendering a geotiff with normalize and StretchToMinimumMaximum sld

I have been supplied an SLD file and a raster dataset. The raster data is a processed sentinel-1 scene. Here is the SLD: <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor ...
0
votes
0answers
9 views

How can I put the jetty-servlets.jar file onto the CLASSPATH [duplicate]

I want to implement popup for WMS layer in Leaflet but I encountered a 'Access-Control-Allow-Origin' problem so I searched in the Internet I found that I have to add this to web.xml : <web-app> ...
1
vote
0answers
25 views

Getting attribute information from layer in OpenLayers [closed]

I just want to add a layer that represents a city with its city districts. When the user clicks on a district, the site fires an alert presenting the population number. It looks like that: ...
0
votes
0answers
14 views

GeoServer ImagePyramid appears black

I've created an image pyramid with gdal_retile from jpeg compressed geotiff's. for file in *.tif; do gdal_retile.py -v -r bilinear -levels 6 -ps 1024 1024 -co "TILED=YES" -co "COMPRESS=JPEG" -co "...
1
vote
0answers
28 views

GeoServer WCS performance affected due to full-database query [closed]

We host a very large image set using GeoServer's imagemosaic. Our dataset uses two dimensions (time and elevation). All WMS queries work like a charm in less than 200ms (including round trip time) but ...
0
votes
1answer
27 views

Importing GeoPackage into GeoServer?

I've created a geopackage through gdal_translate (overviews with gdaladdo) In geoserver 2.13/2.15 I can create the geopackage store with no problems, but then geoseverver won't fetch the tables/...
0
votes
0answers
10 views

Uploading .nc file on GeoServer

I have downloaded the netCDF plugin for GeoServer 2.15 and put it in its directory >> it had been shown on GeoServer as raster data >> but while uploading .nc file by using this plugin I still have ...
0
votes
1answer
26 views

Geoserver SLD - priority option displays multiple labels

I'm using priority option for labels in my geoserver SLD stylesheet because I have multiple overlapping points. <Priority> <ogc:PropertyName>language</ogc:PropertyName> </...
0
votes
1answer
20 views

GeoServer Point Labels not rendering until Scale = 1 : 545K

I have a series of points that I have reading an attribute to display a label. I don't see the labels on my map until Scale = 1 : 1M when SOME of them start to show up. But it's not until I hit Scale =...
0
votes
1answer
30 views

Differences between Geoserver 2.15.0 and 2.11.0

I was doing a GetFeature request call to a WFS service in Geoserver in json format with my application. I had initially installed 2.11.0, then when I moved to 2.15.0 my app stopped running, I have ...
2
votes
1answer
34 views

I can't see my WMS layer on Cesium Globe scene

After insert a WMS layer in my Cesium, I can see in my browser that the images are comming from Geoserver but they are not visible in the globe. Here is the code ( commented lines are because I'm ...
0
votes
0answers
22 views

GeoServer NetCDF plugin coordinate system error

I'd like to publish a NetCDF file of global wind data by GeoServer using the GeoServer NetCDF plugin, but the result is not as expected At the same time I used the PanoplyWin (a software designed ...
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.
0
votes
1answer
24 views

How to create “wave styled” lines in geoserver SLD style?

I nees to stylize lines with a style like the image below: as seen in nautical charts. Already read the "geoserver cookbook" but can't found anything useful.
0
votes
1answer
41 views

GeoServer Mapbox Vector Tile

I have a spring boot application which is making request to GeoServer to get a layer as a vector tile instead of the front end application making the request directly. The problem is I am not getting ...
0
votes
1answer
53 views

Why text labeling is blur when export to pdf ol5

Here is my code that displays wms image on map. filter="VILL_NAME" + "=" + "'" +cad+ "'"+ " AND TEH_NAME" + "=" +"'" +tahsil+ "'"+ " AND DIST_NAME" + "=" +"'" +dist+ "'"; cadLayer =new ol....
0
votes
0answers
15 views

Bringing GeoServer data into Mapbox in Android

I have some point locations and polygons published in GeoServer. I am creating an Android Application to display those data using Mapbox. Is there a way I can do that? (I am completely new to this.)
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 ...
1
vote
1answer
25 views

GeoServer - prioritize labels with certain attribute value

I have a point layer that I serve as WMS with GeoServer. The points have language and name properties and some points have the same geometry so they overlap. What I want to do is to prioritize ...
0
votes
1answer
23 views

GeoServer labels & vendor options

I have the following label style defined in geoserver SLD stylesheet: <TextSymbolizer> <Label> <ogc:PropertyName>pisanjeimena</ogc:PropertyName> </...
0
votes
0answers
18 views

GeoServer 2.14 Preview Layer Group - is there a way to get CQL to filter just one layer of the group?

I have a base layer and a point layer defined in GeoServer, let's call them LayerBase and LayerPoint. I want to see one rendered on top of the other. So I created a Layer Group, let's call it ...
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
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&...
1
vote
1answer
47 views

Mapfish-Print with SLD Style and TTF marks

Is it possible to print ttf's in an SLD using mapfish-print? <GraphicFill> <Graphic> <Opacity>1</Opacity> <Size>25</Size> <Mark> ...
0
votes
0answers
19 views

GeoServer legend fails when using Graphic Symbology

Using the graphic symbology to fill a polygon in GeoServer I can successfully display a polygon with a 'slash' overlay using the CSS below. { stroke: #999999; stroke-width: 0.5; fill: #...
1
vote
1answer
15 views

GeoServer 2.10.1 Center Justify Polygon Label Style File .xml

The Title kind of says it all. Trying to Center Justify a label of a polygon using a sld style file on Geoserver 2.10.1. Here is the code snippet followed by a screenshot of the label now. ...