[Tagging] Basic cartography features missing, why?

Joseph Eisenberg joseph.eisenberg at gmail.com
Sun Nov 8 17:48:31 UTC 2020


Re: "Vector tiles could allow for instant client-side switching of map
styles, the ability to customize the base layer, and allow users to make
custom maps themselves"

This is often claimed as a benefit of client-side vector tiles, but in
practice it is not possible.

The reason is that at mid zoom levels there is far too much data in the
database for it all to be made available in a vector tile format so that
the map is fully customizable.

If we were to include all features on the vector tile data, the rendering
would be too slow or would crash for many users, especially those who have
mobile phones, or lower-powered tablets, or even current low-end laptops.

Practical client-side vector tiles have to significantly simplify the data
and remove a number of nodes and features to make the rendering practical.
While some customization is possible (like hiding some icons and labels, or
changing the script or language of the text labels), you are not going to
get a custom rendering from one set of vector tiles.

User pnorman and several others had been working on a demonstration which
re-implements the current OpenStreetMap Carto style in server-side vector
tiles (the first step), but it is quite difficult to achieve a good result
with currently available open source tools, and there will have to be some
compromises which worsen the cartography in some cases.

I have not heard an update on this project in the past few months, so it
may be stalled.

-- Joseph Eisenberg

On Sun, Nov 8, 2020 at 8:48 AM Seth Deegan <jayandseth at gmail.com> wrote:

> And there should be several specialized layers: general car navigation
>> map, sport map for hiking/cycling/skiing, transportation. All of that would
>> be possible with vector tiles which are less computationally demanding to
>> create.
>
> We already have multiple map styles.
>
>
> What they mean is that the current map styles run by other providers will
> not be necessary if we switch to vector tiles.
>
> Vector tiles could allow for instant client-side switching of map styles,
> the ability to customize the base layer, and allow users to make custom
> maps themselves (this is extremely powerful).
>
> This is pretty self explanatory, but I wanted to note earlier that vector
> tiles allow for the clickability/interactivity of every element on the map.
> Most new users who come to osm.org don't even know what the Query Tool
> does or that it exists. It's also pretty inconvenient and slow.
> Making everything clickable allows features to be explored with a possible
> beautiful UI like Google Maps.
>
> On Sun, Nov 8, 2020 at 1:46 AM Mateusz Konieczny via Tagging <
> tagging at openstreetmap.org> wrote:
>
>>
>>
>>
>> Nov 8, 2020, 05:31 by machyna at gmail.com:
>>
>> I absolutely agree with Seth, OSM should switch to vector tiles ASAP.
>>
>> Note that OSM would not switch to vector tiles. At most one more
>> rendering would switch
>> to vector tiles.
>>
>> For OSM Carto see
>> https://github.com/gravitystorm/openstreetmap-carto/issues/3201
>> (not sure what is the state and what is the current blocker)
>>
>> (sorry if that is overly pedantic)
>>
>> And there should be several specialized layers: general car navigation
>> map, sport map for hiking/cycling/skiing, transportation. All of that would
>> be possible with vector tiles which are less computationally demanding to
>> create.
>>
>> We already have multiple map styles.
>>
>> Their code is all on github so no need to reinvent the wheel and I think
>> this could be easily modified for OSM purposes.
>> https://github.com/FreemapSlovakia
>>
>> Is there somewhere description/summary of their software stack?
>>
>> If there is nobody who can or is willing to do it then let's hire someone
>> who can.
>>
>> Or let a company like Mapbox do it.
>>
>> If someone, anyone is willing to sponsor hosting they can propose to add
>> their tiles to OSM main site (see
>>
>> https://wiki.openstreetmap.org/wiki/Featured_tile_layers/Guidelines_for_new_tile_layers
>> )
>>
>> Though as business of Mapbox is to offer paid hosting of OSM data it is
>> dubious that they
>> would put special effort into competing with themself. Even free tier of
>> their products
>> requires giving credit card details.
>>
>> I would be willing to do regular monthly donations for someone's salary
>> if that makes OSM better and more attractive.
>>
>> I am not sure how one may donate for specific target of vector tiles
>> (it is also not mentioned at
>> https://wiki.openstreetmap.org/wiki/Donations ).
>>
>> donations at openstreetmap.org is appearing on the page, maybe asking there
>> is
>> there such possibility would be useful
>>
>> I also fully agree with Anders. OSM needs change. There should be some
>> sort of committee with a clear vision that would enforce a unified style of
>> mapping.
>>
>> While central power may be useful and offer some benefits, it is really
>> poor place for it.
>>
>> Either some agreement can be reached and such committee is not needed or
>> they
>> would make decisions where large part of community disagrees with it.
>>
>> Except cases where this is absolutely needed, such entity would do more
>> damage
>> than benefit.
>>
>> It is absolutely ridiculous that we have features that are mapped in 2 or
>> more different ways simultaneously e.g. riverbanks or sidewalks... Who is
>> supposed to use and rely on such data?
>>
>> Duplicate tags are mildly irritating while processing, but it is not a
>> serious or main problem for
>> data consumers.
>>
>> (and it is from person who put a lot of effort into tagging improvements,
>> wikifiddling,
>> deprecating some unwanted values, deduplication and validator-related
>> work and has
>> some experience from data consumer side)
>>
>>
>> Martin
>>
>>
>>
>> Date: Sat, 7 Nov 2020 08:36:52 -0600 From: Seth Deegan
>>
>> I actually just found that article about OSM’s problems.
>> One of the major topics mentioned, the fact that OSM acts as a database
>> and
>> not a map, and that this acts as a hinderance to the expansion and
>> development of the project, is very true.
>> As a result, I’ve came to think that implementing Vector tiles should be
>> OSM’s #1 development priority right now. If people who find OSM realize
>> that there’s a lot more data than just the raster images displayed by the
>> standard tile layer, than they will be more likely to contribute and grow
>> the OSM community.
>> We’re all here complaining about computational needs required by rendering
>> servers, but there are some great vector tile implementations that require
>> way less computational needs.
>> Moral of the story: We need Vector tiles.
>> El El sáb, nov. 7, 2020 a la(s) 05:24, Anders Torger <anders at torger.se>
>> escribió:
>> > This is great information, I didn't know about your project, very very
>> > interesting. I have recently come to understand the OSM-Carto technical
>> > challenges recently. I haven't given it much of a thought as a casual
>> > mapper for the past two years, just been a bit disappointed with how it
>> > looks.
>> >
>> > I am a programmer in profession though so when taking a deeper look and
>> > though about it I see these challenges.
>> >
>> > However, and this is a big however, I think that the face of
>> > openstreetmap really need to be a cartographic sound map. It's not right
>> > that a style seemingly designed mainly for speedy diagnosis should be
>> > the face of OSM. How many of our mappers are so technical that they
>> > understand this? And howcome did I not even know about this cartographic
>> > project of yours? If there are great styles out there but noone knows
>> > about them that's a problem.
>> >
>> > And even if we let the not-so-good-cartography be the first map we see
>> > on openstreetmap.org (which makes no sense), some of the other layers
>> > presented there should be one which focus on good cartography, and all
>> > that are there now have many of the same issues as the main style.
>> >
>> > I assume that many, perhaps most, casual mappers use the web editor. I'm
>> > really impressed with the web editor, it's great and is mostly
>> > user-friendly, you don't need to be a technical person to map, and that
>> > is how I think it should be. One thing with the web editor though is
>> > that unless you are technical enough to turn off caching (which
>> > essentially means putting the browser in development mode), you won't
>> > see the rendered results for a long time, even if reloading the page,
>> > you still get cached data. Thus it wouldn't matter if the rendering
>> > wasn't updated for a couple of hours or even more, the casual mapper
>> > won't see it anyway.
>> >
>> > I think that direct feedback is desirable of course, but compared to
>> > other goals I think it's less important, and one can work with the user
>> > interface in the web editor to mitigate this issue. Perhaps just have a
>> > way to probe the server so it can deliver some render status. The
>> > biggest problem today with the web editor regarding feedback is that to
>> > a casual mapper it may not be obvious that the map needs to be rendered
>> > at all and that can take time, and together with the web caching and
>> > different zoom levels it gets even more confusing. Many of us more
>> > experienced mappers know exactly how OSM works and renders, and we go
>> > blind for how a new user will experience it.
>> >
>> > One way to mitigate this could be to turn on some render info view in
>> > the web interface to show render status of tiles, maybe even estimated
>> > time left, and then a way to refresh the tiles without having to resort
>> > to putting the web browser in development mode with disabled cache.
>> >
>> > And now to the most important point, whether one likes it or not,
>> > OSM-Carto as being the face of OSM and the most commonly used style, is
>> > the de-facto reference and driver of features and tagging. If OSM-Carto
>> > doesn't support basic cartography features many mappers won't be
>> > motivated to tag for that, and then the cartographic styles will have
>> > less information than they need to make good maps. OSM-Carto due to its
>> > limited rendering capabilities also make casual mappers tempted to "tag
>> > for the renderer" just to get results, which for example can mean that
>> > villages are upped, and thus the cartographic style will get fed with
>> > incorrect information.
>> >
>> > In summary I think there are *very* strong arguments for that the main
>> > style shown at openstreetmap.org and the main style used for editors
>> > should be focused on providing great cartography (with the extension
>> > that it should probably present more features than a usual map,
>> > alternatively we need to split into several styles, all cartographic
>> > sound), and we must allow it to be be more computationally expensive and
>> > come up with smart ways to mitigate that in the tools. We can't
>> > stubbornly hold on to principles and use the same arguments that held up
>> > and worked well back in 2004, there are things that need to be revised.
>> > And one of these things is that we need to understand that good
>> > cartography needs priority, and good (online) cartography today has much
>> > tougher competition and therefore expectations than it had back in 2004.
>> >
>> > While searching the web for what's happening inside OSM I found this
>> > blog post from 2018 written by a longtime OSM contributor, where some of
>> > these issues are discussed:
>> > https://blog.emacsen.net/blog/2018/02/16/osm-is-in-trouble/
>> >
>> > but it seems that not much has happened since, which makes me somewhat
>> > worried about the project's future. I don't think we need a revolution
>> > or something, but there are some things that need to start moving, and
>> > for some of these things the old processes no longer work.
>> >
>> > /Anders
>> >
>> > On 2020-11-07 07:52, Tomas Straupis wrote:
>> > > 2020-11-07, št, 00:41 Anders Torger rašė:
>> > >> However, how important is it that update of the map is immediate for
>> > >> every database update? <...>
>> > >
>> > >   OSM-Carto is a style whose purpose is to visualise OSM data to
>> > > MAPPERS, do it quickly (fast feedback is essential). OSM-Carto also
>> > > has a requirement to be easily deployable by almost anybody on any
>> > > hardware. This means that pre-processing of data is impossible as per
>> > > requirements (not a design decision). And without pre-processing it is
>> > > impossible to have a cartographically sound map. So even while the
>> > > OSM-Carto team is doing a terrific job and they do have people with
>> > > good cartographic knowledge (like Christopher), but OSM-Carto does not
>> > > have such a purpose - cartography.
>> > >
>> > >   We're playing around with a small project striving to comply with
>> > > cartographic rules - topo.openmap.lt - some data is updated daily,
>> > > generalisation is done weekly. But you already get generalised roads,
>> > > buildings, smart lines for waterbody labels as well as text size and
>> > > letter spacing. This should get cartographic simplification for
>> > > waterways this coming spring (not DP or VW, but Wang-Müller). So this
>> > > can be done, but OSM-Carto is not the place to do it.
>> > >
>> > >   Therefore if you want to have a cartographically sound map - you
>> > > will need a separate project - separate rendering and stuff. You're
>> > > totally right - for general (not mapper) use, minutely update is less
>> > > important than cartographically correct representation. And also not
>> > > everything has to be generalised, some parts could be updated very
>> > > fast, some could be updated weekly or even monthly. Segmentation of
>> > > data could also get more attention (re-calculating only the parts
>> > > which need re-creation). Such tasks could even push forward topics
>> > > which are currently the target of generalisation and multiple
>> > > representation group of International cartographic association - I
>> > > really think OpenStreetMap has people and capabilities to have a say
>> > > there.
>> >
>> > _______________________________________________
>> > Tagging mailing list
>> > Tagging at openstreetmap.org
>> > https://lists.openstreetmap.org/listinfo/tagging
>> >
>> --
>> Thanks,
>> Seth
>>
>>
>> _______________________________________________
>> Tagging mailing list
>> Tagging at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/tagging
>>
>
>
> --
> Thanks,
> Seth
> _______________________________________________
> Tagging mailing list
> Tagging at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20201108/cf0c609e/attachment-0001.htm>


More information about the Tagging mailing list