Container for script for change "default language" in PBF files from Belarusian to russian
233
script: https://github.com/tbicr/osm-name-migrate/blob/main/osm_back.py
Docker file and bash script for container https://github.com/danvyr/osmmapsconverter/tree/master/rus
Volume: PBF_DIR - folder with files
Options: PBF_FILE PBF_FILE_RU
Example:
echo "[INFO] Downloading belarus-latest.osm.pbf from geofabrik.de"
aria2c -s8 -x8 https://download.geofabrik.de/europe/belarus-latest.osm.pbf
echo "[INFO] Start changing language"
IMAGE_NAME="danvyr/osm_back"
CONTAINER_NAME=osm_back
PBF_FILE=belarus-latest.osm.pbf
PBF_FILE_RU=belarus-ru.osm.pbf
PBF_DIR=$(realpath .)
docker run -e PBF_FILE=$PBF_FILE -e PBF_FILE_RU=$PBF_FILE_RU --mount type=bind,src=$PBF_DIR,dst=/pbf --name $CONTAINER_NAME $IMAGE_NAME
docker rm $CONTAINER_NAME
Content type
Image
Digest
sha256:a809b6672…
Size
55.4 MB
Last updated
over 1 year ago
docker pull danvyr/osm_back