Work in progress ..
Development site: http://taginfo-dev.opengeodata.hu
test continents | description |
---|---|
http://taginfo-dev.opengeodata.hu/africa/ | ~ 65 Taginfo service |
http://taginfo-dev.opengeodata.hu/antarctica/ | ~ 1 Taginfo service |
http://taginfo-dev.opengeodata.hu/central-america/ | ~ 33 Taginfo service |
- Download
planet.osm.pbf
and move to ->/import_admin/planet.osm.pbf
make naturalearth
: Download naturalEarth raster filesmake init
- import OSM admin areas to PostGIS
- Download Geofabrik polygons and import to PostGIS
make genservices
for generating all services!
geofabrik continent | short continent code | first port | config files | status |
---|---|---|---|---|
africa | af | 10000... | [./service/af](service/af/README.md) | not ready yet |
antarctica | aq | 12000... | [./service/aq](service/aq/README.md) | not ready yet |
asia | as | 14000... | [./service/as](service/as/README.md) | not ready yet |
australia-oceania | ao | 16000... | [./service/ao](service/ao/README.md) | not ready yet |
central-america | ca | 18000... | [./service/ca](service/ca/README.md) | not ready yet |
europe | eu | 20000... | [./service/eu](service/eu/README.md) | not ready yet |
north-america | na | 22000... | [./service/na](service/na/README.md) | not ready yet |
russia | ru | 24000... | [./service/ru](service/ru/README.md) | not ready yet |
south-america | sa | 26000... | [./service/sa](service/sa/README.md) | not ready yet |
Test service: used only for minimal travis testing
geofabrik continent | short continent code | first port |
---|---|---|
central-america | zz | 30000 |
- docker-compose:
1.18+
https://github.com/docker/compose/releases ( Compose file format >= 3.5) - docker engine :
17.06.0+
- developed & tested on Linux ( ubuntu )
- git, make, bash
- taginfo-
$continent
-$iso
- short continent code: - is a 2 letter abreviation
- antimeridian : taginfo map is not correct, need more debug * see more https://en.wikipedia.org/wiki/180th_meridian
- area_pct : geofabrik continent polygon not contain 100% of iso area , borders sometimes change
- be careful, the taginfo statistics is not correct!
- Overpass external link is 99% ok, but sometimes not working
- 'Antarctica' : [drolbr/Overpass-API#421
- I don't see my country area:
- Smaller Geofabrik area exist for my country
- sometimes the osm admin borders is changing, and very hard to keep in sync with geofabrik extracts
- this version is expect 100% inside the country polygon, if not -> fallback the continent ( {{continent_long}} )
- taginfo customized for smaller extracts - showing data problems on the long tails
- ....
- Config files derived from OpenStreetMap data ( ODBL )
- Program code, taginfo customisations : GPL3
- Hugo-material-docs theme: MIT License
- OpenStreetMap contributors and community
- Geofabrik, for the free download service https://www.geofabrik.de/data/download.html
- https://github.com/taginfo/taginfo author and contributors
- https://github.com/julien-noblet/download-geofabrik
- https://github.com/osmcode/osmium-tool
- https://github.com/omniscale/imposm3
- NaturalEarth data : http://www.naturalearthdata.com/
- and other Open Source projects ( linux, posgis, postgresql, osgeo, python, docker, hugo, caddy, nginx-proxy, etc )
- This is an experimental software, test on a new VPS
- Check the size of 'geofabrik source' , sometimes it is huge > 1 Gb ! ( like continents )
- This code expecting minimal docker and linux knowledge.
see .travis.yml file!
command:
make test
make build
- build 2 docker images * for processing the osm data:taginfo_job
* for viewing the taginfo result:taginfo_view
make testdatainit
- install minimalplanet.osm.pbf
and naturalEarth raster data from ./testdata directorymake init
-- filter OSM PLANET file for admin data
- Import OSM admin polygons
- Download all Geofabrik Polygons (kml)
- for calculating minimal osm extract
- Import Geofabrik polygons to Postgis
make ca-zz-genservices
- Generate
./service/zz
test config files
- Generate
make ca-zz-test
- Run
./service/zz
: processing central-america ; and start and stopzz
services
- Run
make peakcheck
- Check Taginfo processing Peak memory from the logs.