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

Switch out Nominatim and Photon for Pelias #88

Merged
merged 11 commits into from Aug 18, 2022
Merged

Conversation

ellenhp
Copy link
Member

@ellenhp ellenhp commented Aug 15, 2022

This reduces the memory requirements for full-planet builds to more affordable levels. It also replaces two services with one meaning fewer copies of the same data, and handles interpolation better than photon.

This requires the -P flag with earthly now because of the use of docker-in-docker during index generation.

  • Update frontend
  • Document need for -P flag
  • Automatically determine country if possible based on BBBike extract CSV.
  • Write a test plan

Test Plan:

  • Check base-map functionality
  • Check search auto-complete
  • Check clicking on search results
  • Check car routing
  • Check bike routing
  • Check walking routing
  • Check transit routing

@ellenhp ellenhp marked this pull request as ready for review August 18, 2022 01:27
@ellenhp ellenhp changed the title WIP: Switch out Nominatim and Photon for Pelias Switch out Nominatim and Photon for Pelias Aug 18, 2022
@ellenhp
Copy link
Member Author

ellenhp commented Aug 18, 2022

Memory requirements for the full planet import are 64GB and running the full planet is now about 12GB I think, maybe lower if some of the services respond to memory pressure without falling over.

This is huge, merging it. I have a working planet-scale install on my desktop now because of this work.

@ellenhp ellenhp merged commit be52dc4 into headwaymaps:main Aug 18, 2022
@ellenhp ellenhp deleted the pelias branch August 18, 2022 01:30
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.

None yet

1 participant