Skip to content

Conversation

Hagellach37
Copy link
Member

this is work in progress.

Goal: support multi polygon projects (aka island mapping in MapSwipe) #374

try:
# Create a project object using appropriate class (project type).
project = ProjectType(project_type).constructor(project_draft)
# TODO: here the project.geometry attribute is overwritten
Copy link
Member Author

Choose a reason for hiding this comment

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

remove here and decide where validate_geometries should be called

Copy link
Member Author

@Hagellach37 Hagellach37 left a comment

Choose a reason for hiding this comment

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

Hey @TahiraU,
I have put some minor comments. Overall it looks good now. :) Maybe you find some time tomorrow to adjust the small bits and then we can put it into dev. :)

Copy link
Member Author

@Hagellach37 Hagellach37 left a comment

Choose a reason for hiding this comment

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

Hey,
only some minor comments again. I thnk we need to explicitly remove the files under mapswipe-data so that they are not uploaded to github.

LOGGING_FILE_PATH = os.path.join(DATA_PATH, "mapswipe_workers.log")

# number of geometries for project geometries
MAX_INPUT_GEOMETRIES = 2
Copy link
Member Author

Choose a reason for hiding this comment

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

should we change this to 10? how many geometries do we want to allow to start with?

@Hagellach37 Hagellach37 merged commit 84aeb92 into dev Aug 4, 2020
@Hagellach37 Hagellach37 deleted the multiPolygons branch March 3, 2021 13:37
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