This is awesome implementations of the Mapbox Vector Tile for Water Services Providers.
This repository is no longer used, it has been moved to watergis/docs repository!
Please visit https://docs.water-gis.com for the latest documentation.
Vector tiles make huge maps fast while offering full design flexibility. They are the vector data equivalent of image tiles for web mapping, applying the strengths of tiling — developed for caching, scaling and serving map imagery rapidly — to vector data. (from Mapbox website).
Vectortiles
is the most popular and advanced mapping technology currently, its data is very light and fast, offering full design flexibility.
Its operation cost is normally cheaper compare to raster tiles data distribution.
In Africa, Internet connection is still poor in some rural area. This vectortiles is right solution for such as poor internet situation. You can enjoy browsing smoothly in your computer or smartphones.
Our vectortiles approach uses Github pages without servers. I know it is quite difficult for some of water services providers to have servers in Africa. This toolkits were developed for you!
The following websites are the final outputs of vector tiles maps for water sevices providers in both Kenya and Rwanda which are using this vector tiles toolkit.
- Water Supply Map for Narok Water, KENYA: since June 2020.
- Water Supply Map for WASAC RWSS, RWANDA: since July 2020.
- Water Supply Map for Nakuru Water, KENYA: since August 2020.
The below is demo image of Water Supply Map for WASAC RWSS
You will see how this vectortiles is powerful for your water services providers.
I developed an overview map for to manage all of vectortiles of water supply system. You can zoom the map and tap any point, so you can see more detailed water supply network data from the link of popup.
All the source codes under watergis
organization are open source software, they are mostly .
List of All repositories under watergis
- watergis/mapbox-gl-legend: Add a simple legend control
- watergis/mapbox-gl-area-switcher: Add a simple control to switch area easier
- watergis/mapbox-gl-popup: add a simple popup into Mapbox GL JS.
- watergis/mapbox-gl-print: add a simple print control to export PNG and PDF.
- watergis/mapbox-gl-pitch-toggle-control: add a simple 3D button to change between 3D and 2D
- watergis/vt-boilerplate: a template to create vectortiles from PostGIS and deploy it to Github pages.
- watergis/postgis2geojson: a module to extract GeoJSON directly from PostGIS.
- watergis/postgis2mbtiles: a module to extract mbtiles directly from PostGIS.
- watergis/postgis2mbtiles-docker: a Docker implementation for
postgis2mbtiles
module. - watergis/mbtiles2pbf: a module to convert from mbtiles to pbf(mvt) vectortiles.
- watergis/postgis2vectortiles: a module to create pbf vectortiles from PostGIS directly.
- watergis/sprite-creator: a module to create sprite files from SVG icons.
- watergis/geojson2inp: a module create INP file from GeoJSON files.
- watergis/postgis2inp: a module create INP file directly from PostGIS.
These repositories are not currently related to vectortiles, however I would like to develop EPANET functions within vectortiles map in the future.
Actual vectortiles datas are owned by their water companies. Vectortiles data are located in following repositories.
- narwassco/vt: Vectortiles for Narok Water, Kenya
- WASAC/vt: Vectortiles for WASAC, Rwanda
- nakuruwater/vt: Vectortiles for Nakuru Water, Kenya
Those vectortiles are licensed under a Creative Commons Attribution 4.0 International
License().
If you want to use their open data, please mention their attiribution. For instance,
- Attribution of Narok Water, Kenya
Copyright (c) 2020 Narok Water and Serwerage Services Co, Ltd.
- Atribution of WASAC, Rwanda
Copyright (c) 2020 Water and Sanitation Corporation, Ltd.
- Attribution of Nakuru Water, Kenya
Copyright (c) 2020 Nakuru Water and Sanitation Services Co, Ltd.
Also, if you want to use our stylefiles together with base map, please put the following additional attribution on your map.
(c)Mapbox, (c) OpenStreetMap contributors, Powered by the United Nations Vector Tile Toolkit
Those stylefiles and spritefiles are following Mapbox Style Specification. The repositories are as follows.
- narwassco/mapbox-stylefiles: Stylefiles for Narok Water, Kenya
- WASAC/mapbox-stylefiles: Stylefiles for WASAC, Rwanda.
- nakuruwater/mapbox-stylefiles: Stylefiles for Nakuru Water, Kenya
Those stylefiles are licenced under C0-1.0 License
. However, we are using some icons of Mapbox Studio. So those icons which are from Mapbox, the license also belong them.
This vectortiles toolkit was developed and is maintained by Jin IGARASHI(see portfolio if you are fascinated by more details about me). If you have any feedbacks, please let me know through Github's issues or pull request. Also, if you like my GIS works for water services providers in Africa, you can make donation through Github Sponsor.
Copyright © 2020 Jin IGARASHI