OSM Tileserver: Difference between revisions

From Wikitech
Content deleted Content added
No edit summary
Line 10: Line 10:
* maps-tiles3.maps.eqiad.wmflabs
* maps-tiles3.maps.eqiad.wmflabs
** This server is the only webhost
** This server is the only webhost
* [https://wiki.debian.org/OSM/tileserver/jessie docs for running mod_tile on jessie]


== Technology stack ==
== Technology stack ==
Line 17: Line 16:
** https://launchpad.net/~osmadmins/+archive/ubuntu/ppa?field.series_filter=bionic
** https://launchpad.net/~osmadmins/+archive/ubuntu/ppa?field.series_filter=bionic
** lib: /var/lib/mod_tile
** lib: /var/lib/mod_tile
*** compiling: sudo apt-get install build-essential autoconf libtool libmapnik-dev apache2-dev
*** deps for compiling: apt-get install build-essential autoconf libtool libmapnik-dev apache2-dev
*** [https://wiki.debian.org/OSM/tileserver/jessie docs for running mod_tile on jessie]

** puppet: include ::apache ?
** puppet: include ::apache ?
* <s>Munin</s>
* <s>Munin</s>

Revision as of 13:33, 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

    • puppet: includeĀ ::apacheĀ ?
  • 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
      • Stretch: libmapnik-dev, libmapnik3.0, mapnik-utils, python3-mapnik
  • Database
    • Host: osmdb.eqiad.wmnet
    • User: osm
    • Database: gis
    • Referenced from /data/project/styles/*/*.xml
  • OSM Stylesheets
    • Seems most of these are not versioned, have not been updated since 2014 and we seem to be missing the .mml (we only have the output)
    • likely will have to keep using what we already have generated for now.
    • apt: openstreetmap-carto
    • Hikebike: hikebikemap-carto
    • OSM Default: openstreetmap-carto
    • OSM Default no labels:
    • bw-mapnik:
  • Installed fonts:
    • fonts-dejavu, fonts-dejavu-core, fonts-dejavu-extra, fonts-droid, fonts-khmeros, fonts-khmeros-core, font-sil-padauk, fonts-sipa-arundina, ttf-indic-fonts-core, ttf-kannada-fonts, ttf-tamil-fonts, xfonts-encodings, xfonts-utils
    • puppet: includeĀ ::mediawiki::packages::fonts

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Ā ?
  • what is the difference between the https and the apache manifestsĀ ?

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.
  • Make a debian stretch package of mod_tileĀ ??????? See: APT_repository