Cartography
for a
Changing Map
AJ Ashton, MapBox
Global
● All the data OpenStreetMap has to offer,
and more
● Multiscale: 20+ Web Mercator zoom levels
● Multiple label lan...
Scalable
● Cloud servers that get added and dropped
constantly can’t be too “heavy”
● Tiles should load just as fast with ...
Up to date
● Currently sync with OSM every 5 minutes
● We want this to be even faster
● The world is always changing
Global + Scaleable
+ Up to date
A challenging combination
Global + Scaleable
+ Up to date
+ Make it look good
Keeping up with OSM
OSM Changes
1.5 million
changes per day
over 1000
changes per minute
http://osmstats.altogetherlost.com
Most changes are small,
but some have big
consequences
Cartography for a changing map:
Simple things
Generalize
Normalization
Cleaning OSM data for consistency
Cartography for a changing map:
Not-so simple things
aka. Automatic
manual tweaks
City labels
City labels
● Custom list of scaleranks (based on
Natural Earth) and label direction hints
● Fuzzy spatial & fuzzy text jo...
Airport labels/icons
Cartography for a changing map:
Working with tiles
Tiles are small & static
256x256 pixels not a lot to work with
Tiles don’t know
about other tiles
The terrifying
chaos label problem
No perfect solutions
Only mitigation strategies
Consistent ordering
ORDER BY scalerank, population DESC,
osm_id
De-duplicate at
the data level
GROUP BY ST_SnapToGrid(geom)
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
Nacis cartography for a changing map
of 37

Nacis cartography for a changing map

Published on: Mar 3, 2016
Published in: Business      Technology      
Source: www.slideshare.net


Transcripts - Nacis cartography for a changing map

  • 1. Cartography for a Changing Map AJ Ashton, MapBox
  • 2. Global ● All the data OpenStreetMap has to offer, and more ● Multiscale: 20+ Web Mercator zoom levels ● Multiple label language options
  • 3. Scalable ● Cloud servers that get added and dropped constantly can’t be too “heavy” ● Tiles should load just as fast with 10 users as with 10,000 users ● Apply different styles to the same underlying data
  • 4. Up to date ● Currently sync with OSM every 5 minutes ● We want this to be even faster ● The world is always changing
  • 5. Global + Scaleable + Up to date A challenging combination
  • 6. Global + Scaleable + Up to date + Make it look good
  • 7. Keeping up with OSM
  • 8. OSM Changes 1.5 million changes per day over 1000 changes per minute http://osmstats.altogetherlost.com
  • 9. Most changes are small, but some have big consequences
  • 10. Cartography for a changing map: Simple things
  • 11. Generalize
  • 12. Normalization Cleaning OSM data for consistency
  • 13. Cartography for a changing map: Not-so simple things
  • 14. aka. Automatic manual tweaks
  • 15. City labels
  • 16. City labels ● Custom list of scaleranks (based on Natural Earth) and label direction hints ● Fuzzy spatial & fuzzy text join function between incoming OSM data + our list
  • 17. Airport labels/icons
  • 18. Cartography for a changing map: Working with tiles
  • 19. Tiles are small & static 256x256 pixels not a lot to work with
  • 20. Tiles don’t know about other tiles
  • 21. The terrifying chaos label problem
  • 22. No perfect solutions Only mitigation strategies
  • 23. Consistent ordering ORDER BY scalerank, population DESC, osm_id
  • 24. De-duplicate at the data level GROUP BY ST_SnapToGrid(geom)

Related Documents