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

Nominatim 4.5 #587

Merged
merged 26 commits into from
Nov 13, 2024
Merged

Nominatim 4.5 #587

merged 26 commits into from
Nov 13, 2024

Conversation

leonardehrenfried
Copy link
Collaborator

@leonardehrenfried leonardehrenfried commented Nov 11, 2024

Nominatim 4.5 is moving to Python and the PHP part is now deprecated.

For that reason I removed PHP and apache.

I also upgraded to Ubuntu 24.04 which also uses Postgres 16.

Closes #584.

Copy link

what-the-diff bot commented Nov 11, 2024

PR Summary

  • Nominatim Version Update in CI Workflow
    Updated Nominatim software version in the Continuous Integration process from 4.4 to 4.5 to stay up-to-date with new software features and improvements.

  • Change in PBF URL for GB Postcode Import
    The source URL for the Great Britain postcode data has been changed to point accurately to the United Kingdom data source.

  • New Dockerfile for Nominatim version 4.5
    There's a new Dockerfile which defines build instructions and necessary dependencies. This aids others in building their own versions of Nominatim.

  • Comprehensive README for Nominatim 4.5
    The new README file provides well-detailed setup instructions, configurations, and usage examples for Nominatim version 4.5, easing the learning curve for new users.

  • Additional Configuration Files for Enhanced PostgreSQL Tuning
    New configuration files present in conf.d/ provide more options for tuning PostgreSQL settings, leading to improved database performance.

  • Dynamic Configuration Script (config.sh)
    There's a new script that allows dynamic configuration based on environment variables, providing flexibility in configuration scenarios.

  • Docker-compose Files for Different Configurations
    New docker-compose files provide examples of Nominatim container deployment for both the planet and standard configurations, easing deployment process.

  • Docker Image Update for Enhanced Performance
    The new Docker image supports updated package versions and introduces PostgreSQL tuning parameters. These changes contribute to improved overall performance.

  • Markdown Example File
    Introduced example.md with detailed configuration examples for running a Docker container for Nominatim. This addition helps users to understand how to work with the Docker container for Nominatim.

  • New Initialization Script
    Implemented an init.sh script to automate downloading of data files, database setup, and the data import process, making initialization simpler.

  • Start-up Scripts
    New 'start.sh' and startpostgres.sh scripts manage the startup processes for the Nominatim service and the PostgreSQL service respectively, ensuring smooth service execution and easier monitoring of logs.

@leonardehrenfried
Copy link
Collaborator Author

The CI configuration has been updated to consider a wider geographical region - shifting the focus from Rutland to England which could expand the relevance of the data analysis.

Again, this is just great! 😆

@leonardehrenfried
Copy link
Collaborator Author

OTOH, this is quite good:

Three new scripts have been provided for managing various aspects of the application lifecycle - init.sh, start.sh, and startpostgres.sh. They broadly handle data file downloads, initialization of PostgreSQL database, performing initial data import, setting up the application, and monitoring application operations.

services:
nominatim:
container_name: nominatim
image: mediagis/nominatim:4.4
Copy link
Contributor

Choose a reason for hiding this comment

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

should be 4.5 here

@leonardehrenfried
Copy link
Collaborator Author

It looks like I encountered a bug in nominatim 4.5.0 when importing with --reverse-only: osm-search/Nominatim#3583

@leonardehrenfried leonardehrenfried requested review from mtmail and philipkozeny and removed request for mtmail November 13, 2024 09:19
Copy link
Collaborator

@philipkozeny philipkozeny left a comment

Choose a reason for hiding this comment

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

amazing work, thanks @leonardehrenfried !

@leonardehrenfried leonardehrenfried merged commit b1ca923 into master Nov 13, 2024
60 checks passed
@leonardehrenfried leonardehrenfried deleted the nominatim-4.5 branch November 13, 2024 11:03
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.

Nominatim 4.5
3 participants