SomeoneElseOSM / SomeoneElse-style

An "England and Wales rural pedestrian" focused OSM-based map style. Example at https://map.atownsend.org.uk/maps/map/map.html . This is the tag preprocessing part of the style.
GNU General Public License v3.0
9 stars 3 forks source link

SomeoneElse-style

This project is one of eight projects that together are used to create and display the map that is visible here.

The projects are:

Related are:

The map style is designed for "England and Wales-based rural pedestrians". The example map area also covers Ireland and Scotland.

The links from the top of the example map are designed to answer common questions like "what is this map" on an "about" page. That page also addresses common questions about OSM-based maps (is it accurate and up to date, how do I fix it, what do people know about me if I use this map?). There's also a change log that shows updates to the map style as they are released.

What the map is designed to show varies by zoom level. Roughly speaking:

The general principle is that things that people map should be shown. Sometimes there are multiple tags used to express the same concept; both forms of tagging will be shown. Commonly-used typos are also shown as the desired feature. If there's a conflict between being useful and being pretty, being useful wins.

The "heavy lifting" of converting complicated tagging combinations (for example, pubs with different features) into something to be rendered is done here in style.lua, with the Carto CSS part of the project just rendering one of the couple of hundred of icons it corresponds to.

Other things here

Changelog

Changelog.md is a historical list of what's changed in the three main projects that make up this map style.

Update scripts

There's a script that gets the latest extract for an area here. That gets four areas - by default Great Britain (which has extra name processing performed on it) and Ireland and Northern Ireland, the Isle of Man and the Channel Islands (which don't). The "extra name processing" involves using "name:cy" in place of "name" in part of Wales, and "name:gd" in place of "name" in part of Scotland. The file splitting, name tag changing and file recombining is done with "osmium".

There is also this script that just reloads carto, not the database - useful if the lua preprocessing does not need to be run.

Taginfo project files

This file is designed to tell the taginfo about the tags used within this map style.