[Taginfo-dev] started working on : Taginfo Dockerizing + Automatic configurations ( for every country )
Imre Samu
pella.samu at gmail.com
Thu Nov 3 11:43:46 UTC 2016
TLDR:
- just you know about this ( and avoid parallel working )
- https://github.com/ImreSamu/osmdtaginfo ( temporary home ; temporary
project name )
- I have a *dockerized working prototype *for all "Central-America "
countries ( Haiti, Cuba, .. )
- [in a next 4-8-12-* weeks] I hope :
- We have a taginfo customization for every country ( and a script
for a quick : "Region" / "City" / "District" / "HOTtask" / "POSM" /
"Mapping Party" setup )
- I hope I can send an online test link ... [ but I don't have a
financial resources for hosting for a long time ]
===========
Hi,
One of my favorite tool is the osm Taginfo, and my dream: creating a
Taginfo instance for every country in the Earth.
And on the "State of the Map 2016" - Taginfo - Birds of Feather meeting
- we discussed something about this ~
so I have started working on this topic.
- Current *_temporary_ * repository : https://github.com/ImreSamu/os
mdtaginfo
- The license is the same ~ Taginfo (GPL 3.0)
- And I hope later I can move to this -> to the taginfo repo [
https://github.com/taginfo ]
Status:
*- The automatic config file / map / generations is working* ( basic level
, and need more test and optimization )
and for* Central-America* I uploaded to the repository.
for example Haiti : https://github.com/ImreSamu/
osmdtaginfo/tree/master/taginfo_data/ht
- I* have created 2 Docker Images *( https://github.com/ImreSamu
/osmdtaginfo/tree/master/docker )
- *taginfo_view* ( for only for view - Alpine based, configured for
: max 60Mb RAM )
- * taginfo_job *( for taginfo setup & taginfo data processing jobs &
development )
so for the every country ( in theory ) a 32 Gb RAM is enough
- *taginfo_view docker : *: RAM = ( 220 country x 60Mb ) ~ 14 - 20
Gb RAM
- serial batch processing *taginfo_job ( 1 x 4Gb RAM ) *
T*he reverse proxy settings and a lot of other things is missing ...*
My vision ( but the links not exist yet )
....
https://cr.taginfo.openstreetmap.org // taginfo for : "Costa Rica"
https://cu.taginfo.openstreetmap.org // taginfo for : "Cuba"
https://dm.taginfo.openstreetmap.org // taginfo for : "Dominica"
https://do.taginfo.openstreetmap.org // taginfo for : "Dominican Republic"
https://gd.taginfo.openstreetmap.org // taginfo for : "Grenada"
https://hn.taginfo.openstreetmap.org // taginfo for : "Honduras"
https://ht.taginfo.openstreetmap.org // taginfo for : "Haiti"
....
==== status: *this is only a Proof of Concept * ======
if you have a (latest) *docker* and *docker-compose* installed, you can
test yourself.
*git clone https://github.com/ImreSamu/osmdtaginfo.git
<https://github.com/ImreSamu/osmdtaginfo.git>*
*cd osmdtaginfo*
*./test.sh * ( download Geofabrik
central-america-latest.osm.pbf ~ 246 Mb , Build 2 docker containers, +
Minimal tests ..)
and
*make test_ht * ( test for Haiti)
check/adapt the container ip , ( docker inspect ) and open with the
browser : ~ http://172.21.0.2:4567/
*Available (all) Central-America configurations: *
[ if you are testing multiple countries, be aware *the browser caching*
( customized background image, and logo sometimes not refreshed .. I will
change this in the next version.
on: Chrome: *Hold down Ctrl and click the Reload button! * ]
make test_ag # test taginfo for: "Antigua and Barbuda"
make test_ai # test taginfo for: "Anguilla"
make test_bb # test taginfo for: "Barbados"
make test_bs # test taginfo for: "The Bahamas"
make test_cr # test taginfo for: "Costa Rica"
make test_cu # test taginfo for: "Cuba"
make test_dm # test taginfo for: "Dominica"
make test_do # test taginfo for: "Dominican Republic"
make test_gd # test taginfo for: "Grenada"
make test_hn # test taginfo for: "Honduras"
*make test_ht # test taginfo for: "Haiti"*
make test_jm # test taginfo for: "Jamaica"
make test_kn # test taginfo for: "Saint Kitts and Nevis"
make test_ky # test taginfo for: "Cayman Islands"
make test_lc # test taginfo for: "Saint Lucia"
make test_ms # test taginfo for: "Montserrat"
make test_ni # test taginfo for: "Nicaragua"
make test_nl # test taginfo for: "The Netherlands"
make test_pa # test taginfo for: "Panama"
make test_sv # test taginfo for: "El Salvador"
make test_tc # test taginfo for: "Turks and Caicos Islands"
make test_tt # test taginfo for: "Trinidad and Tobago"
make test_vc # test taginfo for: "Saint Vincent and the Grenadines"
make test_vg # test taginfo for: "British Virgin Islands"
Ps.
- probably the 2 letter country code is not enough ... ( for example -
there is a "The Netherlands" in the Central America and in the Europe,
and it is 'bad' for the geographical distribution maps ..
so later probably I will add a 'continent' prefix or postfix
like
- ca - central-america ( ca-ht =Haiti , ca-nl = The Nederlands in the
Central America )
- na - north-america ( na-us =United States, na-ca = Canada )
- eu - europe ( eu-de , eu-nl = The
Nederlands in the EU )
Feedback welcome & Thank you for reading.
Regards,
Imre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/taginfo-dev/attachments/20161103/6ff0910b/attachment.html>
More information about the Taginfo-dev
mailing list