Skip to content
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

use tiles::hybrid_node_idx #63

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

use tiles::hybrid_node_idx #63

wants to merge 1 commit into from

Conversation

felixguendling
Copy link
Member

to store node coordinates on disk

@felixguendling felixguendling marked this pull request as draft February 24, 2024 19:35
to store node coordinates on disk
@felixguendling
Copy link
Member Author

felixguendling commented Feb 24, 2024

Import with Bayern:

Master branch:
Screenshot from 2024-02-24 22-46-55

This branch:
Screenshot from 2024-02-24 22-47-06

Biggest gain would probably be to not store osm_node and osm_edge in unique_ptr but have a vector and only store IDs.

Edit: osm_edge is stored in osm_node for outgoing edges. So probably a memory fragmentation can be reduced with cista::vecvec<edge_idx_t> for edges and reverse edges + one central cista::vector_map<edge_idx_t, edge> map.

image

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.

1 participant