Tile Toolkit Taro Ubukawa (United Nations Geospatial Information Section), Hidenori Fujimura (Geospatial Information Authority of Japan), Diego Gonzalez Ferreiro (United Nations Global Service Centre), Paolo Frizzera (United Nations Global Service Centre), Oliva Martin Sanchez (United Nations Global Service Centre) 30 Sept 2021 on Aconcagua room
universal use of geospatial information in support of all mandates and operations of the United Nations for a better world The UN Open GIS Initiative aims to identify and develop an Open Source GIS bundle that meets the requirements of UN operations for both peace-building and peace-keeping. Introduction: Geospatial Information for a Better World. With open source GIS bundle! About Me: Taro Ubukawa (Mr.) [email protected] Senior Geospatial Expert (since December 2019), UN Geospatial Information Section (Dispatched from Japan) Our strategy and Initiative
to produce, host, style and optimize vector tiles for web mapping. It was initiated by Mr. Hidenori Fujimura in 2018. • Goal: To facilitate the production of Vector Tiles by public organizations for further use as basemaps. UN Vector Tile Toolkit (UNVT) The toolkit works even in a single-board computer
in UN Global Service Center (UNGSC) in Italy. • I will introduce our effort and share our experience. Develop a vector tile map of covering the world from both OSM and the UN internal data (from our PostGIS database). Update it everyday/week. UNVT Deployment in UN (One of the key UNVT projects) UNGSC supports various UN operations, missions, agencies, etc., with ICT and geospatial information services.
data? • UN Mappers update OSM everyday. How can we update the vector map frequently? → Wise use of nodejs and open source tools. Key targets OSM source UN source
• Conversion Sever: RHEL • Tools used: nodejs (pg to read PostGIS), Tippecanoe, tile-join • Repository: https://github.com/un-vector-tile-toolkit/produce-gsc-4-pro • Other tips: • Scripts are executed as scheduled task to update daily/weekly. • Only updated OSM sourced data everyday/week while UN sourced will be updated when needs arise Our Experience: Production Source (PostGIS) Vector Tiles (mbtiles) GeoJSON seq GeoJSON sequence is directly imported in Tippecanoe Our work flow nodejs Tippica noe
• 42 layers covering these themes: • Landcover • Hydrography • Admin boundary • POI • Transportation • Place • Label, etc Area Number of spatial modules Data size Conversion Time Priority 69 12 GB 2h48m 1 114 25 GB 4h24m 2 116 20 GB 4h19m 3 31 27 GB 4h27m 4 118 24 GB 5h49m 5 126 20 GB 4h03m 6 137 16 GB 3h47m 7 130 20 GB 5h03m Daily update for the priority area. The other areas are updated weekly to reduce the burden to the source server. (If needed, about 35 straight hours for the whole globe.)
• Starting from Maputnik, now we are using HOCON to efficiently edit the map style. (HOCON: Human-Optimized Config Object Notation) Our Experience: Styling See https://github.com/un-vector-tile-toolkit/style-gsc-prod Assemblage config files to make a single style.json!!
libraries/tools, and we found some differences. • We made styles for: • Mapbox gl js • QGIS • ArcGIS API for Javascript, ArcGIS online • Findings • Not all libraries/tools support advanced styling expression. • Some tools only read only a single source per style file. • Some tool uses system fonts (not “glyghs”) • RGB, RGBA, RGB color code • Authentication for vector tiles delivery may have not been well established in many tools. Our Experience: Styling -Tips
tiles are derived from mbtiles. Our Experience: Hosting Vector Tile Data (mbtiles) * They will be delivered as pbf tiles Map Library Map Symbol Icons (sprite) Text font (Glyphs) HTML files for webmap Hosting server(s) Our vector tile server (nodejs/express) https://github.com/un-vector-tile-toolkit/onyx Extended server (Azure AD authentication.) https://github.com/un-vector-tile-toolkit/coesite Components: • Server itself • Data • Map Symbol • Font • Library • Style info Style info
(5 May 2021) • UNVT workshop in Japanese (12 May 2021) • A Series of UNVT exercise (June and July 2021) Knowledge-sharing efforts: Workshop(s) Picture by Prof. Furuhashi and Ms. Yasuda. https://github.com/unvt/512 Materials are available! • UNVT Workshop in Japanese: https://github.com/unvt/512 • UNVT exercise materials: https://speakerdeck.com/ubukawa • UNVT naru: https://github.com/unvt/naru We have a UNVT storytelling workshop on 22 October 2021. Please contact me if you want to join us!
UNVT for vector tile development project. • I feel that making/styling/hosting vector tiles is not that difficult thanks to the open source tools. • If you are interested in our efforts, join us in UNVT activity!! Thank you and I will invite Mr. Fujimura to show the latest UNVT examples in other projects.
& Apps HTTP/2 HTTP Project partners in: Japanese Antarctic Research Expedition (JARE) 63rd Wintering Party Furuhashi Laboratory, Aoyama Gakuin University