Giter Site home page Giter Site logo

Comments (4)

artemp avatar artemp commented on June 27, 2024 1

@maze88 Looks like this is a styling issue and can be addressed by

<TextSymbolizer upright="auto/right/left"> ?

(ref #614)

from mapnik.

tomhughes avatar tomhughes commented on June 27, 2024 1

I did explain in openstreetmap/openstreetmap-website#4556 the correct place to report this and @maze88 said he had done that so I'm not quite sure what led to this being opened when it's clearly a styling issue rather than an engine issue.

from mapnik.

quinncnl avatar quinncnl commented on June 27, 2024 1

@maze88 opened the ticket in tracestrack tracestrack/tracestrack-maps#24. I thought this feature was not supported (was checking https://carto.com/developers/styling/cartocss/#text)

Thanks to @artemp's comment about "upright", I found text-upright is actually supported (https://cartocss.readthedocs.io/en/latest/mapnik_api.html)

However the expected result isn't so great on computers:

Screenshot 2024-04-10 at 23 02 51

One has to rotate his/her head to see the numbers. On phone or paper maps it would be better. I'll try to tweak the spacing to see if it can be optimized.

from mapnik.

artemp avatar artemp commented on June 27, 2024

I think this not a "misoriented altitude" but rather a cartographer choice. Bellow is a link to OS online maps displaying the same approach to contours labelling -

https://explore.osmaps.com/location?lat=58.115001&lon=-5.132933&zoom=14.4467&style=Standard&type=2d&locationName=U2FsdGVkX1%2F4PY2GBg8qL7mZiHMcj%2BVzV8ZyMDbkZbE%3D&locationCoordinates=-5.114608777662628%2C58.11044492033229&locationBbox=-5.1471%2C58.0999%2C-5.0895%2C58.1208

image

@maze88

from mapnik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.