Questions tagged [geoserver]
GeoServer is the reference implementation of the Open Geospatial Consortium (OGC) Web Feature Service (WFS) and Web Coverage Service (WCS) standards, as well as a high performance certified compliant Web Map Service (WMS).
1,465
questions
0
votes
0
answers
24
views
How to add Mbtiles plugin to geoserver
I download and install geoserver. it's work.
I want install mbtiles plugin.
plugin on server
I create dir WEB-INF/lib and put files in this dir.
dir on pc
Server get started, but plugin is not ...
-1
votes
0
answers
36
views
OpenLayers 6 Deleting lot of polygons by attribute from WFS stored in PostGIS - GeoServer
I would like to know what is the way to delete hundreds of polygons by attribute, using OpenLayers6 ? The layer is a polygon WFS layer stored in PostGis, published by GeoServer. For example, in a ...
0
votes
0
answers
18
views
Is it possible to use vector tiles from martin geoserver in Cesium JS?
I want to use vector tiles from Martin(Geoserver) with Cesium JS.
But, I can't find any way to do that.
My example tile info is "https://{my_geo_server}/{location_name}/{z}/{x}/{y}.pbf".
Is ...
-1
votes
0
answers
48
views
Search multiple GeoJSON feature properties in OpenLayers?
I have a code to do search function. I want to search with shthua and shbando but something wrong in my function. I get a random result everytime I click on the button even without entering the value ...
0
votes
1
answer
26
views
Geoserver SLD with custom font not loading the characters from the custom font
I migrated my SLD styles from a Geoserver 2.21.0 running on Jetty to a Geoserver 2.21.0 running on Tomcat 9, both are running Ubuntu Linux 22.04.
We created two custom fonts that work fine on Jetty, ...
0
votes
0
answers
23
views
Enable INSPIRE Metadata in GeoNode and GeoServer
I am using GeoNode (version 3.3.2) in a project, where one of the requirements is to be INSPIRE compliant.
I have seen that in settings.py the metadata:inspire['enabled'] is set to True. However, in ...
-1
votes
0
answers
12
views
How do I get the details of the layer in geoserver(bbox, width, height)
I use geoserver: https://github.com/geoserver/geoserver
I have a list of all the layers on my admin page. I need to get their outlines from other service. I found an option is to query the link that ...
1
vote
0
answers
13
views
Geoserver randomly drops logs file
Geoserver drops continuously a "logs" file at random. The logs file contains 'juli.xxxx-xx-xx.log' files. We don't make use of them but we can't get rid of it, don't know how to disable this ...
0
votes
1
answer
31
views
How to upgrade geoserver 2.18 bin.zip to geoserver 2.21 windows installer ( as a service)
I am trying to upgrade geoserver from version 2.18.0 bin.zip to version 2.21.1 (windows installer). If I understand correctly, then 2.18.0 uses a jetty server, and no jetty installation is required, ...
0
votes
0
answers
83
views
Geoserver service won't start
I tried to install a geoserver v.2.21.1,after installation I get an error message at the start of the service
How to avoid this?
P.S. In geoserver.log file the text is:
ERROR : Nothing to start, ...
-2
votes
0
answers
12
views
how to fix this problem : Access to XMLHttpRequest has been blocked by CORS policy [duplicate]
i want to add Attribute Query functionality in my Web Mapping Application so i add this code in my js file , when i execute it didn't work and it's give me the following error :
index.html:1 Access to ...
0
votes
1
answer
37
views
How to make installed geoserver 2.18 as windows service?
How to make installed geoserver 2.18 as windows service? Two yeas ago I have install it on windows server 2008 R2 and sometimes it stops (when my session closed, for example), which is not acceptable,...
0
votes
1
answer
22
views
Geoserver - automatically detect its stop and restart
I use Geoserver on Windows server and it sometimes stops for some reason. How can I automatically detect its stop and restart?
0
votes
1
answer
18
views
Qualys warn for spring vulnerabilities geoserver and geowebcache
Qualys reports that there are severe vulnerabilities in geoserver and geowebcache relating to the spring files. At the moment we run geoserver 2.20.4 and geowebcache 1.20.3, but still getting these ...
0
votes
1
answer
37
views
GCP External Global Load Balancer gives wrong user and password message while trying to login to Geoserver or Origin does not correspond to request
I have an Ubuntu 22.04 VM on GCP, I installed Apache Tomcat 9 and downloaded Geoserver 2.21.0, at this point I am able to login with the external IP and port 8080.
After that, I created an external ...
1
vote
1
answer
16
views
Geoserver: REST create WMTSLayers
Under Geoserver, How do we create the WMTSLayer once the WMTSStore is establish via REST API ?
Trying to follow the swagger documentation under here,
https://docs.geoserver.org/latest/en/api/#1.0.0/...
-1
votes
1
answer
29
views
GeoServer Layer with point and polygon simultaneously
Is it possible to have a Layer on GeoServer with polygon and point representations at the same time?
I have a data model that can be represented through a point, a polygon, or both. Do I have to have ...
0
votes
1
answer
27
views
Attach attributes in a separate table to a layer on GeoServer
I have an Occurrence model, which is represented by a polygon, and has a one-to-many relationship to an attribute table. The models are stored in a PostGIS database.
class Occurrence(models.Model):
...
0
votes
0
answers
30
views
Unable to upload shapefile using GeoServer REST API
I tried the following command
curl -v -u admin:geoserver -XPUT -H "Content-type: application/zip" --data-binary @my_zip_with_shapefile.zip http://localhost:8080/geoserver/rest/workspaces/...
0
votes
0
answers
26
views
Does GeoServer have Default Style?
I use GeoServer to publish some GIRBS files.
Now I'm in doubt about how to use Styles. I know what SLD styles are, but don't know how many styles I should provide or attach to GeoServer.
Should each ...
1
vote
0
answers
48
views
Overlay a tile layer on top of another tile layer using leaflet
I aim to overlay a tile layer on top of another. The first tile layer is created using L.tileLayer() using the url: baseUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' and the second tile ...
1
vote
0
answers
21
views
How to find an feature in WFS by filter?
I try to find feature by id and layer id by WFS:
const cql_filter = "&cql_filter=(id=layer202103_geom.42)";
Request looks like:
service: WFS
version: 1.0.0
request: GetFeature
typeName: ...
0
votes
0
answers
23
views
400: application/vnd.mapbox-vector-tile is not a supported format for <layer> Geoserver
I’m trying to use https://docs.geoserver.org/latest/en/user/extensions/vectortiles/index.html extension of Geoserver to output my data as pbf. I’m using Geoserver 2.20-SNAPSHOT. I’m following the OL ...
-1
votes
0
answers
15
views
Geoserver request data from Geotiff using LatLong coordinates
I never used geoserver before.
I am developing an app where the user can select some points on the map and I retrieve the Latitude and Longitude of the points.I loaded a geotiff in geoserver.I need to ...
0
votes
0
answers
26
views
How to generate template xml file for SLD styles on Geoserver?
Hi I am creating a project that needs a lot of layers and styles through Geoserver and most of the style are the same with minor value differences. Is there a way to generate a template style that ...
0
votes
0
answers
28
views
Nginx and GeoServer
I have a containerized Angular map application that makes extensive use of the GeoServer REST API. I'm looking for some best practice recommendations for configuring Nginx. For example, do I simply ...
0
votes
0
answers
50
views
geoserver - label placement sld style option and displayed all labels in low zoom level
I want to mark the label on the shp layer in geoserver. In qgis, the label placement option of the shp layer can be specified. I exported the sld style file from qgis and styled it to geoserver. I ...
-2
votes
1
answer
61
views
Angular HTTP client GeoServer REST API mapping
I'm using an Angular service to interact with the GeoServer REST API. The JSON response for getting layers is:
{
"layers": {
"layer": [
{
&...
0
votes
0
answers
35
views
Basic Auth logout
Of all the examples at the moment, this example is suitable for the latest version of Google Chrome
await fetch('http://localhost:4444/geoserver', {
credentials: 'include',
headers: {
...
0
votes
1
answer
22
views
WMS service output tiles with more then 255 Colors
The default Geoserver WMS implementation allows an output of png tiles with up to 256 Colors defined by a SLD style definition.
In conjunction with a GLSL approach to color tiles client side, I want ...
0
votes
0
answers
24
views
Count points in polygons with WFS or WPS
I'm having 2 separate layers in geoserver. One containing polygons and other one contains points. How can I count the number of points within each polygon using wfs or wps requests?
QGIS describing ...
1
vote
1
answer
35
views
Geoserver executes sql twice & queries number of rows
two issues with Geoserver - probably someone has experience of these...
1. SQL statement executed twice
I can see from Geoserver logs that the SQL is executed twice. This happens for all the layers ...
0
votes
1
answer
55
views
GeoServer web UI redirects to vanilla HTTP
I have the standalone version of GeoServer 2.21.0 running behind an NGINX reverse proxy. Whenever I attempt to do anything with the web UI, Wicket is redirecting me to HTTP when I need it to send me ...
1
vote
1
answer
32
views
Geoserver behind Nginx : strange behavior with HTTPS
I need your help for a strange problem :)
I have Geoserver on my server :
it is a standalone daemon (not a WAR deployed in Tomcat)
it is listening on 127.0.0.1:8280
I have a PROXY_BASE_URL configured ...
-2
votes
2
answers
70
views
Pass PHP variable from HTML form to Javascript
could you help me pass a variable that was taken from a html form into javascript.
The form asks for the tablename
<br>
New tablename:<br>
<input type="text" name=&...
0
votes
0
answers
24
views
HTML POST form to PHP CURL page showing error 500 (Apache Httpd, AlmaLinux) [duplicate]
I'm beginning in PHP pages.. I'm trying to build a page that allows a user to create a table in Geoserver/Postgresql, if he/she provides user/password. I've made a html form with those 3 infos, but I ...
0
votes
0
answers
33
views
Images not showing in getfeatureinfo request using freemarkers in leaflet
I am stuck on a part of my project where I try to show an image + text from a pop up through a getfeatureinfo request on a leaflet map, the files are in my local geoserver and I make a call to them ...
0
votes
0
answers
27
views
SQL api, Concat an url for images returns '\/' instead of '/'. How do you encode it?
I want to get img as URL (eg):
https://mapcentia-www.s3-eu-west-1.amazonaws.com/fkg/311fd222-a8bd-487c-bccb-d756bac994a6.jpg
What im trying:
https://geofa.geodanmark.dk/api/v2/sql/fkg?q=
SELECT fkg....
0
votes
0
answers
28
views
Geoserver authorization
I'm using a Geoserver to make a site with a map. Strangeness appears only in Google Chrome, let's say in Microsoft Edge everything works fine. The problem is that I log into the Geoserver under one ...
0
votes
0
answers
71
views
GeoServer layer clustering in CSS (vec:PointStacker)
How can I translate below code into css format? I'm more interested in how to translate vec:PointStacker. And how to cluster multiple layers with different styles? I have several layers and I want ...
0
votes
1
answer
81
views
Geoserver raster with external SLD
I want to use an external SLD (hosted in my server) for symbolizing a raster in Geoserver.
The SLD below works if used as default style in Geoserver. If I copy it (changing some colors) and put ...
0
votes
0
answers
73
views
Problem displaying geoserver's layer when resource is updated with rest API
I am having a weird issue when using geoserver api to update a netcdf resource of a coverage store layer. The resource is a netcdf containing one 3D (lon, ,lat, time) variable. However, the time ...
0
votes
0
answers
62
views
Connection refused between two containers
I've two containers:
DOCKERIZED-PYTHON: test python project that use flask and owslib3
DOCKERIZED-GEOSERVER: Geoserver version from here
I need to read some information from a WMS like layer title ...
0
votes
0
answers
104
views
How to properly overlay WMS tiles on google maps? WMS tiles are shifted when overlayed on Google Maps
I am getting started with GIS.
I am trying to publish a Geography Markup Language (GML) file on geoserver. For this I converted it to a shape file using ogr2ogr tool
ogr2ogr -f "ESRI Shapefile&...
0
votes
0
answers
23
views
The other part of a polygon shape is not showing at a specific zoom level,I am using geoserver
This is the polygon shape looks like when zoom level at 20m,
the shape is not completely displayed compare to zoom 10 m
This is the polygon shape looks like when zoom level at 10m
0
votes
1
answer
45
views
Not able to use GeoPackage as Vector Data Store in Kartoza Geoserver, Azure App Service
I'm running Kartoza Geoserver v.2.18.0 (Geoserver as Docker image) as an App Service i Azure. Path mappings are set to a File storage and working fine. Kartoza Geoserver 2.20.4 caused some issues with ...
0
votes
0
answers
33
views
geoserver layaerpreview internalerror? unknown WKB type 12 . in openlayers
internal error unknown WKB type 12
in geoserver layaer preview using load openlayers
in geoserver using i am create a web mapping application but some layers are seen only when i am zoom in
0
votes
0
answers
44
views
Saving WFS-T GeoServer from react
any body know the way to save data to geoserver through WFS-T in react?
The goal is save geospatial data in postgis from react through geoserver wfs-t service.
i'm traying to use ol libraries, (...
0
votes
1
answer
29
views
Is there any event listener to check if the wms layer has loaded or not in google maps?
In a react web application, I am overlaying wms tiles on google maps using map's property overlayMapTypes.
if (map && activeLayer) {
let layer = new window.google.maps.ImageMapType({
...