Commit 5a184cd2 authored by Jgiannelos's avatar Jgiannelos
Browse files

Improve naming to be more specific on the util scope

parent ca318ccc
# Simplified map tilelist # Deduped map tilelist
Given an input file with a list of line seperated tiles in `{zoom}/{x}/{y}` format, generate a distinct list of map tiles for all zoom levels up to `maxzoom`. Given an input file with a list of line seperated tiles in `{zoom}/{x}/{y}` format, generate a distinct list of map tiles for all zoom levels up to `maxzoom`.
...@@ -19,7 +19,7 @@ optional arguments: ...@@ -19,7 +19,7 @@ optional arguments:
## Context ## Context
This CLI tool is built as a way to generate a simplified tile list of distinct tiles based on the `imposm3` expired tile output. The reason behind is this is to deduplicate tiles and optimize tile pregeneration by avoiding generating the same tile multiple times. This CLI tool is built as a way to generate a deduplicated tile list of distinct tiles based on the `imposm3` expired tile output. The reason behind this is to deduplicate tiles and optimize tile pregeneration by avoiding generating the same tile multiple times.
## Dependencies ## Dependencies
......
maps-simplified-tilelist (0.0.1-1) unstable; urgency=medium maps-deduped-tilelist (0.0.1-1) unstable; urgency=medium
* Initial release * Initial release
......
Source: maps-simplified-tilelist Source: maps-deduped-tilelist
Section: science Section: science
Priority: optional Priority: optional
Maintainer: Yiannis Giannelos <jgiannelos@wikimedia.org> Maintainer: Yiannis Giannelos <jgiannelos@wikimedia.org>
Build-Depends: debhelper-compat (= 12), dh-python, python3-setuptools, python3-all Build-Depends: debhelper-compat (= 12), dh-python, python3-setuptools, python3-all
Standards-Version: 4.4.1 Standards-Version: 4.4.1
Package: python3-maps-simplified-tilelist Package: python3-maps-deduped-tilelist
Architecture: all Architecture: all
Depends: ${python3:Depends}, ${misc:Depends} Depends: ${python3:Depends}, ${misc:Depends}
Description: Generate a simplified maps tile list (Python 3) Description: Generate a deduplicated maps tile list for all tiles up to a zoom level (Python 3)
\ No newline at end of file Given a list of map tiles as input, generate an extensive list of all
their parent and children tiles (up to a zoom level) and deduplicate
common entries.
\ No newline at end of file
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: maps-simplified-tilelist Upstream-Name: maps-deduped-tilelist
Files: * Files: *
Copyright: 2021 Yiannis Giannelos <jgiannelos@wikimedia.org> Copyright: 2021 Yiannis Giannelos <jgiannelos@wikimedia.org>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# See debhelper(7) (uncomment to enable) # See debhelper(7) (uncomment to enable)
export PYBUILD_NAME=maps-simplified-tilelist export PYBUILD_NAME=maps-deduped-tilelist
%: %:
dh $@ --with python3 --buildsystem=pybuild dh $@ --with python3 --buildsystem=pybuild
from setuptools import find_packages, setup from setuptools import find_packages, setup
setup( setup(
name="maps-simplified-tilelist", name="maps-deduped-tilelist",
version="0.0.1", version="0.0.1",
author="Yiannis Giannelos", author="Yiannis Giannelos",
author_email="jgiannelos@wikimedia.org", author_email="jgiannelos@wikimedia.org",
...@@ -15,6 +15,6 @@ setup( ...@@ -15,6 +15,6 @@ setup(
packages=find_packages(where="src"), packages=find_packages(where="src"),
python_requires=">=3.7", python_requires=">=3.7",
entry_points={ entry_points={
"console_scripts": ["maps-simplified-tilelist=tileset.cli:main"], "console_scripts": ["maps-deduped-tilelist=tileset.cli:main"],
}, },
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment