Skip to content

support update mode #275

@SailorMax

Description

@SailorMax

What version of PgOSM Flex are you using?

0.6.2

What did you do exactly?

  1. > docker exec -it -e POSTGRES_HOST=127.0.0.1 -e POSTGRES_DB=postgres pgosm python3 docker/pgosm_flex.py --ram=8 --language=en --data-only --append --schema-name=osm --srid=4326 --skip-nested --skip-dump --input-file=argentina-latest.osm.pbf
  2. > docker exec -it -e POSTGRES_HOST=127.0.0.1 -e POSTGRES_DB=postgres pgosm python3 docker/pgosm_flex.py --ram=8 --language=en --data-only --append --schema-name=osm --srid=4326 --skip-nested --skip-dump --input-file=bolivia-latest.osm.pbf

What did you expect to happen?

Database with data of both countries.

What did happen instead?

Database with only Argentina's data.

What did you do to try analyzing the problem?

Investigate results.
Looks like your append-mode required internet connection and additional tables in public-schema to update primary data.
Can you add update-mode, which just add new data (by osm_id?) from source files to already created db/schema/tables? (do not drop/modify database/schemas/tables)

thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DockerDocker image and/or related script(s)breakingBreaking changeenhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions