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

Flex version of the osm2pgsql configuration #4978

Merged
merged 3 commits into from
Oct 26, 2024

Commits on Oct 18, 2024

  1. Flex version of the osm2pgsql configuration

    This commit contains one file with an osm2pgsql configuration for the
    flex output that can be used instead of the old configuration for the
    pgsql output. It replaces the openstreetmap-carto.style and
    openstreetmap-carto.lua files.
    
    The configuration is nearly 100% compatible to the old one.
    
    The database layout will be exactly the same with just very little
    changes. The id columns (`osm_id`) and geometry columns (`way`) on all
    tables will get the NOT NULL flag when using the flex output. These have
    always been NOT NULL in practice anyway.
    
    The content of the database will be the same with only minor irrelevant
    differences.
    
    Run like this:
    osm2pgsql -O flex --style openstreetmap-carto-flex.lua -d gis ~/path/to/data.osm.pbf
    joto committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    d22111f View commit details
    Browse the repository at this point in the history
  2. Switch to flex output

    This commit does the actual switch to the new flex config. It removes
    the old config files and updates the documentation and various scripts.
    joto committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    adc5f50 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Remove outdated Lua test scripts

    They don't work any more with the new flex Lua output. And they are
    have not been maintained anyway.
    joto committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    e47a438 View commit details
    Browse the repository at this point in the history