New answers tagged

0 votes

Show WMS information in popup on Leaflet map?

This amended code should work for you: map.addEventListener('click', onMapClick); popup = new L.Popup({maxWidth: 1000}); function onMapClick(e) { var latlngStr = '(' + e.latlng.lat.toFixed(...
Felipe Ortiz's user avatar
1 vote

Use Geoserver geojson in Leaflet

for bypassing the error: No 'Access-Control-Allow-Origin' for your development you simply can install an extension to allow access from your localhost: "Allow CORS: Access-Control-Allow-origin&...
AliHpanahi's user avatar
0 votes

SLD style not imported in geoserver while publishing it through REST API

I'm using SLD 1.0, you can try this: Create style name curl -u admin:pass -X POST 'https://site.com/geoserver/rest/styles' \ --header 'Content-type: text/xml' \ --data-raw "<style>&...
Marin's user avatar
  • 1
2 votes
Accepted

Does GeoServer support FILTERs in GetFeature requests?

BBOX lives in the fes namespace not the ogc one if you are using a WFS 2.0.0 server, I have a feeling it might work if you define an ogc namespace rather than an fes one. However, I suspect you need ...
Ian Turton's user avatar
  • 79.9k
1 vote

Raster clip using REST API with shapefile polygon

You can use the provided WPS cropCoverage process which take a raster and a polygon.
Ian Turton's user avatar
  • 79.9k
0 votes

Leaflet Geodata Marker clustering and intersection

Incase it helps anyone: function getPixelsForDistance(map, distanceInMeters) { const centerPoint = map.latLngToContainerPoint(map.getCenter()); const targetLatLng = map.containerPointToLatLng([...
knckls's user avatar
  • 1
0 votes

How to use symbol systems configured in ArcMap in GeoServer

Thank you to @Ian Turton for answering my question. My issue has been resolved. I would like to add to Ian Turton's response. 1、To ensure that ESRI fonts are installed on GeoServer, you can verify it ...
苏云明's user avatar
3 votes

GeoServer vector tile only showing 2 decimal places

The precision is hardcoded to 2 decimals for metric systems: https://github.com/geoserver/geoserver/blob/main/src/extension/vectortiles/src/main/java/org/geoserver/wms/geojson/GeoJsonWMSBuilder.java#...
Andrea Aime's user avatar
  • 17.2k
0 votes

SLD file with .png's to style points on a Geoserver OpenLayers map

My working example. Below you can find config and label for point layer. Label Placement AnchorPointX = move label left/right AnchorPointY = move label top/bottom <?xml version="1.0" ...
Marin's user avatar
  • 1
1 vote

How to use symbol systems configured in ArcMap in GeoServer

Your syntax is wrong - see the manual entry for TTF marks: <Mark> <WellKnownName>ttf://Webdings#0x0064</WellKnownName> The font needs to be installed on your system for Java to ...
Ian Turton's user avatar
  • 79.9k
0 votes

When importing a style via SLD in GeoServer and previewing it, there is an issue with the Chinese legend names displaying as garbled characters

Thanks for Ian Turton's response, here I'd like to add how to modify the encoding on a Windows system. The specific steps are as follows: Control Panel -> Clock and Region -> Region -> ...
苏云明's user avatar
0 votes

Cesium on a standalone local network

You can try here and even produce your custom terrain. You can preview and download server software for free aswell https://portal.terrainserver.com Note: I am the provider for that service
Muhammed Kalkan's user avatar
0 votes

When importing a style via SLD in GeoServer and previewing it, there is an issue with the Chinese legend names displaying as garbled characters

The problem seems to be that your system is running with a default encoding that is not UTF-8 but that QGIS saves the file with a UTF-8 encoding. So GeoServer uses the default encoding and not the UTF-...
Ian Turton's user avatar
  • 79.9k
0 votes

Publish the band descriptions from a TIFF in a WMS service with GeoServer

It may not be possible to publish the layer descriptions from GeoTIFF with GeoServer but at least it is possible to edit the layer names. Open the raster layer settings in the GeoServer web interface ...
user30184's user avatar
  • 62k
0 votes

GeoServer layer doesn't show up if admin is logged out

In my case, it was an issue with the data access role. need to give access to ROLE_ANONYMOUS
reza.cse08's user avatar
0 votes

Show all data of the WMS GeoServer layer on single click at web page using OpenLayers 6 WMS GetFeatureInfo (Tile Layer)

Here is his I solved the issue: http:{geoserver_ip}/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&typeName={workspace}:{layer_name}&outputFormat=application/json If you ...
Atto2O's user avatar
  • 1
2 votes
Accepted

Error when trying to preview layers GeoServer 2.23.0

When running GeoServer with Java 17 you need to remove the marlin jar from the WEB-INF/lib directory as described in the manual.
Ian Turton's user avatar
  • 79.9k

Top 50 recent answers are included