Skip to content

SomeoneElseOSM/SomeoneElse-style

Repository files navigation

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:

  • At the lowest zoom levels only large scale features (coastline, motorways) are visible.
  • At zoom level 6 lakes are added.
  • Up to zoom level 12 progressively more man-made and natural features are added. Roads are shown, but not paths and tracks.
  • At zoom level 13 foot, bicycle and horse navigation features are added, including public rights of way and named long distance paths.
  • Zoom level 14 adds hedges and ditches
  • Zoom level 15 adds the first "destination" points of interest (see the legend).
  • Higher zoom levels show progressively more detail - zoom in on the legend to see.
  • The example map supports native zoom levels up to 24 because it uses a forked version of mod_tile that has been modified to support it.

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.

About

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.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published