OSM Tileserver: Difference between revisions

From Wikitech
Content deleted Content added
→‎Technology stack: found the database integration...
Line 44: Line 44:
* Why is maps-tiles2.maps.eqiad.wmflabs not serving http ?
* Why is maps-tiles2.maps.eqiad.wmflabs not serving http ?
* Is there no osm2pqsl ??????????
* Is there no osm2pqsl ??????????
* The styles are 83MB.. but contain the dbname etc. How to not put that in puppet repo, yet have dbname configurable ?


== Decisions ==
== Decisions ==

Revision as of 11:23, 19 December 2018

Historic information about this is on OSM Tileserver/Archive.

This page is for the project to implement an OpenStreetMap TileServer hosted in WMF's production infrastructure which serves the same basic data as OSM themselves (synced from them). This is orthogonal to (or in some other sense, a prerequisite for) other OSM efforts going on in Labs for related overlays and databases. Corrections to the information below are welcome, this is all to the best of my knowledge at this time...

Resources

Technology stack

  • Apache with mod_tile
  • Munin
    • conf:
    • output: /var/www/munin
  • Renderd
    • conf: /etc/renderd.conf
    • output: /data/project/tiles/[tilevariant]
    • Important: make sure fonts for global scripts are installed.
    • Hillshading is not rendered it seems. pre generated tiles ?
    • apt: renderd/trusty
  • Mapnik
    • Version: 2.2.0
    • Styles: /data/project/styles/
    • Lib: /usr/lib/mapnik/2.2/input
    • apt: libmapnik-dev/trusty, libmapnik2.2/trusty, mapnik-utils/trusty, openstreetmap-mapnik-carto-stylesheet-data/trusty, python-mapnik/trusty
  • Database
    • Host: osmdb.eqiad.wmnet
    • User: osm
    • Database: gis
    • Referenced from /data/project/styles/*/*.xml

Questions

  • Can we puppetize this ?
  • Should we switch from renderd to tirex ?
  • Where does the code for renderd come from ?
  • Why is maps-tiles2.maps.eqiad.wmflabs not serving http ?
  • Is there no osm2pqsl ??????????
  • The styles are 83MB.. but contain the dbname etc. How to not put that in puppet repo, yet have dbname configurable ?

Decisions

  • Dump munin, since grafana and nagf provide the same info
  • Build a new cluster on hostname maps.wmflabs.org (currently unused), for easy testing
  • Switch to Debian Stretch as best supported
  • Create a repo to maintain all the styles, config files and any non-privileged information
  • Get rid of some no longer active wmflabs maintainers from the project
  • delete overpass-wiki instance. Made by User:Jotpe, but doesn't seem to be in actual use.