More steps towards blocks and bundles #257
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#248. A "block" is just the space between roads and intersections; there shouldn't be other roads and intersections in there. This PR firms up the idea of a "bundle" -- either a road and its sidepaths or a junction, or just the land-use space in between roads. The classification is wrong in many cases, but it's starting to chop up things into junctions and road-bundles nicely in some cases:
(Ignore the misclassified parking lot)
![image](https://private-user-images.githubusercontent.com/1664407/318214873-6e087f1e-4670-42a5-ae5f-f11938fee51b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMDExMTQsIm5iZiI6MTcyMTMwMDgxNCwicGF0aCI6Ii8xNjY0NDA3LzMxODIxNDg3My02ZTA4N2YxZS00NjcwLTQyYTUtYWU1Zi1mMTE5MzhmZWU1MWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMTEwNjU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTcxNmViN2Q2MWNkNjVjYTdiNDgwMjJhN2NlZTQzYzA3YjE0ODk0ZTE0NjNkMjE0ZmNiMGZiZGMzMGQ5Mzc1NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.YE7pXMjo0h35vWeTNf8k3TPK6gfvZlNPCN9pwhTzmyU)
Two adjacent road bundles is interesting -- that's how the dog-leg intersection shows up. All of this logic is very dependent on where the crossings are -- if they aren't everywhere, some of these ideas start to break down.
![image](https://private-user-images.githubusercontent.com/1664407/318214915-9e36754b-2bd6-4a1a-965a-2a13b0eae626.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMDExMTQsIm5iZiI6MTcyMTMwMDgxNCwicGF0aCI6Ii8xNjY0NDA3LzMxODIxNDkxNS05ZTM2NzU0Yi0yYmQ2LTRhMWEtOTY1YS0yYTEzYjBlYWU2MjYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMTEwNjU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjM0NmExZGY2ZjljNDVmNTQyY2Q4ZjE4ZTUxOTY2YzBiOGFhNDlhYTI5MDk5NGQ3NGE5YWNmZWI1ZDgzZTI4MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.vvGdvxByBPB0wM0kd2KFI7Bw40HvJy_QGr023CsMSqM)