Skip to content

Integrated final Graph and LTN Stats#71

Merged
cbueth merged 54 commits intomainfrom
57-partition-area
Jun 20, 2023
Merged

Integrated final Graph and LTN Stats#71
cbueth merged 54 commits intomainfrom
57-partition-area

Conversation

@cbueth
Copy link
Collaborator

@cbueth cbueth commented Jun 20, 2023

Closes #57, #64, and #67

Carlson Moses Büth and others added 30 commits May 25, 2023 11:50
And correct some docstrings.
Closes #67
(multi)polygon of the osm relation
Change boundary polygon to fitting dtype for unpickling
Update test data
Added reference notebook for the method used with LTNs. Approach can calculate the enclosed population of any city/(multi)polygon on the world. The data source is downloaded automatically and dynamically.
For area and population calculation
Connected to the partitioner structure
Explicitly not in repository
Fix missing full raster reference
Create it if it does not exist in download function.
Tested.
Used for population density
Fix working directory to package install location and connect further directories relatively
Carlson Moses Büth and others added 23 commits June 17, 2023 17:59
When single edges are split up in the middle, population and area are split in half and a new cell id is assigned for one half. This is still compatible with digraphs
Corrected the projection order in the graph import. Edge length was calculated in wrong projection.
Parallelized loop, old for loop was very inefficient
Moved module out of metric subpackage, it does not directly belong to the `Metric` object
Basic graph stats as well as population density
Removed valid test case
Half-precision induces overflow in some cases
Black changed the pngs in the CI, this is unwanted.
@cbueth cbueth added this to the Global Evaluation milestone Jun 20, 2023
@cbueth cbueth self-assigned this Jun 20, 2023
This was linked to issues Jun 20, 2023
@cbueth cbueth merged commit 79ff967 into main Jun 20, 2023
@github-actions
Copy link
Contributor

Coverage report

The coverage rate went from 97.68% to 97.64% ⬇️

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

@cbueth cbueth deleted the 57-partition-area branch June 21, 2023 06:41
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.

Fix numpydoc reference links Population density Partition area

1 participant