rustprooflabs / pgosm-flex

PgOSM Flex provides high quality OpenStreetMap datasets in PostGIS (Postgres) using the osm2pgsql Flex output.
MIT License
101 stars 20 forks source link

Restructure everything about `osm.pgosm_flex` #312

Closed rustprooflabs closed 1 year ago

rustprooflabs commented 1 year ago

Details

WIP: This should close #304.

Initial steps to move osm.pgosm_flex record management from Lua into Python.

The DDL code is moving into Sqitch and no longer allows skipping sqitch deployment.

:warning: Breaking changes :warning:

Removing columns from osm.pgosm_flex table.

Renamed --data-only to --skip-qgis-style. This slightly changed the exact behavior. The original would also skip the sqitch deployment step, now that is not optional.

Additions

Adding columns to the osm.pgosm_flex table

Still to do

Test w/ replication, polish notes on changes, solicit feedback.

rustprooflabs commented 1 year ago

Removing column osm2pgsql_replication and osm2pgsql_mode in favor of storing import_mode in a jsonb column.

Passes make and basic testing looks good. Need to double check how it looks with --replication next.

rustprooflabs commented 1 year ago

The current commit is on docker hub as :dev image. To test:

docker pull rustprooflabs/pgosm-flex:dev