Comments (4)
Hi,
I recently had a similar issue and noticed that the labels are set to "metres" rather than pixels (issue 1) and then also they didn't alter by scale. I had a play with the Geoserver "wms_scale_denominator" function which seems to fix the problem for me.
Let me know if you need some help with it (I have an SLD which you can try to see if it solves your problem)
from osmm-topography-layer-stylesheets.
Hi, thanks @dragon8mycat for your answer. I'll give it a try and let you know. I did more research and found out that by default the SLD TextSymbolizer sets conflictResolution param to "true", thus preventing label overlapping by removing some of them. Have added the parameter <VendorOption name="conflictResolution">false</VendorOption>
and by doing this, those labels that failed to draw because of label conflict now are rendered. This should be fine in the case of OSMM because labels have been intentionally designed to not to overlap.
However, the problem doesn't end here because when tiling the WMS, only those labels that fall 100% inside a tile are rendered. Otherwise they aren't. As I mentioned in the first post, this can be partially solved by serving bigger tiles but not ideal solution. There's another SLD parameter <VendorOption name="partials">true</VendorOption>
that draws all labels even if they fall partly outside the tile. This makes all labels to draw but they get eventually cut at the tile edge, so what you see is a lot of cut labels in the tile edges.
I'll give it a try to your solution and see if I can make any progress.
Thanks so much.
from osmm-topography-layer-stylesheets.
Try this:
OSMM_TEXT_NDU.zip
from osmm-topography-layer-stylesheets.
Looks like this is now resolved so closing the issue, but if there is anything else let us know
from osmm-topography-layer-stylesheets.
Related Issues (20)
- CartographicText style doesn't work HOT 9
- GeoServer can't render some SVG graphics HOT 3
- Incorrect SLD Rule Name for Agricultural Land HOT 1
- Is it possible to increase the rendering levels? HOT 2
- Scale dependent rendering - scale ranges HOT 3
- Loading of OSMM-Topography-Layer -Stylesheets in QGIS 3.10 HOT 6
- Very Slow ArcMap redraw speed - issue and "fix" HOT 1
- SQL to assign style_codes is incorrect in cases where a regex match operator is used (~) HOT 14
- OS Mastermap styling not visible HOT 3
- FME Suggestion HOT 2
- Non-compliance to Style Guide HOT 6
- Esri layer file style issues HOT 2
- QGIS-Field calculator missing trees HOT 12
- fillsymbols error HOT 4
- QGIS-Field calculator further refinements
- QGIS - Field Calculator documentation suggestion
- Mapbox GL style for OSMM Topography Layer (Standard) has incorrect colour for Unclassified Fill HOT 1
- Esri UK style tool link broken HOT 1
- Greyscale styling HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmm-topography-layer-stylesheets.