-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] X/Y input via geofabrik .json + only support processing ma…
…ps via geofabrik .json, delete `wahoomc/resources/json/` files, constants and related coding (#183) * only read geofabrik file once + make "global" variable * x/y coordinates working solution lines 156-167 + 370-382 in geofabrik might not be needed / to be discussed * unittest * translate to and set geofabrik id_no if found * reduce complexity - reduce methods in geofabrik.py by using GeofabrikJson Ckass - add geometry to geofabrik_overview dict + getter * mode in Geofabrik class, get unittests to work again - calc. all x/y tiles in one run - identical to country * Geofabrik as interface and two classes * cut geofabrik.py into functions, detailled unittests * pylint and vulture findings + delete one dir more * delete existing .json files implementation + unittests for retrieving tiles some unittests did make sense to do them via geofabrik * remove geofabrik_tiles input argument for CLI and UI * clean up launch configuration, comments * PR review findings * files of unittest run on macOS for malta 2. tile (geofabrik) BREAKING CHANGE: Processing is now only based on Geofabrik .json file which is downloaded both for country and X/Y input. The static country .json files and the whole implementation has been removed. `-gt` input argument was also removed because there is only one processing method implemented. Input should now be in Geofabrik style. The hardcoded translation to geofabrik countries has been removed. The size of generated maps for X/Y coordinates should remain exactly the same as before. The size of generated maps for countries should roughly be the same as before.
- Loading branch information
Showing
326 changed files
with
9,080 additions
and
355,709 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.