OSM Tileserver: Difference between revisions
Content deleted Content added
āāTechnology stack: update with new font packages |
|||
Line 12: | Line 12: | ||
== Technology stack == |
== Technology stack == |
||
* Apache with [[osmwiki:Mod_tile|mod_tile]] |
* Apache with [[osmwiki:Mod_tile|mod_tile]] and mod rewrite |
||
** conf /etc/apache2/sites-enabled/tileserver_site.conf |
** conf /etc/apache2/sites-enabled/tileserver_site.conf |
||
** https://launchpad.net/~osmadmins/+archive/ubuntu/ppa?field.series_filter=bionic |
** https://launchpad.net/~osmadmins/+archive/ubuntu/ppa?field.series_filter=bionic |
Revision as of 15:53, 24 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
- https://phabricator.wikimedia.org/T204506
- https://tools.wmflabs.org/openstack-browser/project/maps
- https://horizon.wikimedia.org
- maps-tiles1.maps.eqiad.wmflabs THIS IS THE NEW DEBIAN STRETCH HOST
- maps-tiles2.maps.eqiad.wmflabs
- maps-tiles3.maps.eqiad.wmflabs
- This server is the only webhost
Technology stack
- Apache with mod_tile and mod rewrite
- conf /etc/apache2/sites-enabled/tileserver_site.conf
- https://launchpad.net/~osmadmins/+archive/ubuntu/ppa?field.series_filter=bionic
- lib: /var/lib/mod_tile
- deps for compiling: apt-get install build-essential autoconf libtool libmapnik-dev apache2-dev
- docs for running mod_tile on jessie
- /usr/lib/apache2/modules/mod_tile.so
- puppet: includeĀ ::apacheĀ ?
- Munin: Create graphs of tile freshness https://tiles.wmflabs.org/munin/mod_tile-month.html
- 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-noto 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
- stretch: fonts-dejavu fonts-dejavu-core fonts-dejavu-extra
fonts-droidfonts-khmerosfonts-khmeros-corefont-sil-padaukfonts-sipa-arundinattf-indic-fonts-corexfonts-encodings xfonts-utilsfonts-taml fonts-samyak-taml fonts-lohit-taml fonts-lohit-knda fonts-knda - 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