New answers tagged geoserver
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(...
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&...
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>&...
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 ...
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.
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([...
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 ...
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#...
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" ...
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 ...
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 -> ...
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
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-...
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 ...
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
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 ...
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.
Top 50 recent answers are included
Related Tags
geoserver × 5736wms × 768
openlayers-2 × 730
sld × 619
wfs × 573
postgis × 534
openlayers × 497
geowebcache × 256
leaflet × 236
qgis × 217
postgresql × 179
geoserver-rest-api × 179
raster × 177
style × 171
javascript × 147
wfs-t × 145
geotiff-tiff × 143
coordinate-system × 138
getfeatureinfo × 137
tomcat × 126
wps × 125
cql-filter × 107
tiles × 104
boundless-suite × 101
image-mosaic × 101