Skip to content

fix groups height issue #1 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 15, 2018
Merged

fix groups height issue #1 #2

merged 3 commits into from
Feb 15, 2018

Conversation

Hagellach37
Copy link
Member

The grouping algorithm was adjusted.
We avoid calculating the Tile coordinates from the geometries all the time, and just do it initially. Afterwards, tile coordinates are derived from the coordinates of the previous group.

Copy link
Member

@ericboucher ericboucher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with some comments

Maybe note that the add_groups and remove_groups functions are one time things? Should we even merge them? If you think they may come in handy, it might be worth making them more re-usable?

@@ -254,25 +262,31 @@ def get_vertical_slice(geomcol, zoom):
pixel = lat_long_zoom_to_pixel_coords(ymax, xmin, zoom)
tile = pixel_coords_to_tile_address(pixel.x, pixel.y)
TileX_left = tile.x
TileY_top = tile.y

# this is a fix for incorrect groups height
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you be a bit more precise around what the fix is? What is happening?

@Hagellach37 Hagellach37 merged commit 94758ed into master Feb 15, 2018
@Hagellach37 Hagellach37 deleted the fix_groups_height_error branch February 15, 2018 13:58
ericboucher added a commit that referenced this pull request May 18, 2018
# This is the 1st commit message:
Add Travis.ci and docker

# The commit message #2 will be skipped:

#	Add gdal

# The commit message #3 will be skipped:

#	Move sudo

# The commit message #4 will be skipped:

#	No venv

# The commit message #5 will be skipped:

#	Re-add sudo

# The commit message #6 will be skipped:

#	libgdal dev

# The commit message #7 will be skipped:

#	Add python3 dev

# The commit message #8 will be skipped:

#	Add gdal-bin

# The commit message #9 will be skipped:

#	Add Python devel

# The commit message #10 will be skipped:

#	Update

# The commit message #1 will be skipped:

#	Add libgcc

# The commit message #2 will be skipped:

#	Try force imports

# The commit message #3 will be skipped:

#	Add test

# The commit message #4 will be skipped:

#	Test other naming

# The commit message #5 will be skipped:

#	Add export

# The commit message #6 will be skipped:

#	Move export

# The commit message #7 will be skipped:

#	Add setup

# The commit message #8 will be skipped:

#	Add init files
maze2point0 pushed a commit that referenced this pull request Dec 14, 2018
tnagorra pushed a commit that referenced this pull request Dec 15, 2022
Hagellach37 pushed a commit that referenced this pull request May 22, 2023
add test for group and task creation for tile classification project …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants