Skip to content

Commit 4d6d0e4

Browse files
committed
add description and remove scripts
1 parent 5ca6353 commit 4d6d0e4

File tree

3 files changed

+5
-52
lines changed

3 files changed

+5
-52
lines changed

import_module/create_groups.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,11 @@ def get_vertical_slice(geomcol, zoom):
265265

266266
# this is a fix for incorrect groups height
267267
# this is caused by a wrong calculation of the tile coordinates, probably because of float precision
268-
# we don't calculate tile.y coordinates from lat, lon but use the coordinates of the upper group
268+
# previously we started with tile x and tiley -->
269+
# then calculated correspondinglat, lon -->
270+
# finally we calculated corresponding tilex and tile y again,
271+
# however in some rare occassion the tileY from the beginning and from the end were different
272+
# thats why we now don't calculate tile.y coordinates from lat, lon but use the coordinates of the upper group
269273
# this assumes that horizontal slices are ordered north to south
270274
if TileY_top < 0:
271275
TileY_top = tile.y

utils/add_groups.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

utils/remove_groups.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)