Skip to content

Releases: rustprooflabs/pgosm-flex

0.6.0

31 Aug 01:17
Compare
Choose a tag to compare

PgOSM Flex 0.6.0

This release polishes the improvements started in v0.5.1 and introduces a breaking change.

⚠️ Breaking Change

  • Removed views osm.vplace_polygon and osm.places_in_relations - Removing duplicates is now done by deleting rows instead of creating a materialized view to remove them.

Data changes

Added member_ids and exclude duplicates from relations/members. Affects tables:

  • public_transport_line
  • public_transport_polygon
  • road_major
  • road_line
  • road_polygon
  • water_line
  • water_polygon

Functionality changes

  • Removed views osm.vplace_polygon and osm.places_in_relations
  • Make process builds everything instead of default for increased testing

Others

  • Fix N/A

Notes for --append users

You need to manually migrate from 0.5.x to 0.6.0. ⚠️ This is the first upgrade I'm trying to provide guidance on how to maintain/update an --append process across PgOSM Flex versions. ⚠️ Proceed with caution, please test first and report any issues as new bugs!

This is only necessary when using append mode.

ALTER TABLE osm.public_transport_line ADD COLUMN member_ids JSONB;
ALTER TABLE osm.public_transport_polygon ADD COLUMN member_ids JSONB;
ALTER TABLE osm.road_line ADD COLUMN member_ids JSONB;
ALTER TABLE osm.road_polygon ADD COLUMN member_ids JSONB;
ALTER TABLE osm.water_line ADD COLUMN member_ids JSONB;
ALTER TABLE osm.water_polygon ADD COLUMN member_ids JSONB;

DROP VIEW osm.places_in_relations CASCADE;

Full Changelog: 0.5.1...0.6.0

0.5.1

16 Aug 00:10
Compare
Choose a tag to compare

PgOSM Flex 0.5.1

This release finally implements the use of MULTILINESTRING described in #2 via #253 and #254.

Data changes

Added multilinestring handling to:

  • public_transport
  • road_major

Add relation processing (multilinestring and multipolygon) to:

  • road_line
  • water

Functionality changes

  • N/A

Others

  • Fix N/A

Full Changelog: 0.5.0...0.5.1

0.5.0

10 Jul 12:53
Compare
Choose a tag to compare

PgOSM Flex 0.5.0

Data changes

  • N/A

Functionality changes

  • Remove --basepath from Docker runtime options #234

Others

  • Fix documentation for manual steps - git clone #249
  • Update Performance notes #250
  • Bump requirements - #252

Full Changelog: 0.4.7...0.5.0

0.4.7

16 Apr 12:58
517e508
Compare
Choose a tag to compare

PgOSM Flex 0.4.7

Data changes

  • Improve data processing for storm shelters #239 -- Thank you #gischat and Dianne Fritz!
  • Improve Emergency tags (spurred by storm shelters). This moves fire_hydrant, emergency_phone and emergency_access_point under osm_type=emergency #246
  • Bug fix - Exclude more tags from address only buildings #244 / #245

Functionality changes

  • Allow using non-standard port for external Postgres connections #247

Others

  • Documentation improvements #242

Full Changelog: 0.4.6...0.4.7

0.4.6

25 Mar 13:32
Compare
Choose a tag to compare

PgOSM Flex 0.4.6

Data changes

  • Add osm_subtype to amenity tables - #240

Functionality changes

  • Add experimental --append mode #226, #211
  • Fix post-processing for Meta table #235
  • Improve post-processing error checks to prevent new errors from slipping through #235
  • Deprecate --basepath option #238
  • Document high number of Pg connections #237
  • Manually install luarocks, not using apt install #241

Full Changelog: 0.4.5...0.4.6

0.4.5

25 Feb 23:52
b065359
Compare
Choose a tag to compare

PgOSM Flex 0.4.5

  • Remove boundary records from buildings #228, #230 @jacopofar
  • Allow all boundary records to load to place layer #230
  • Fix --input-path with absolute path #232, improve help message #233
  • Switch some log messages from info to debug #231

Full Changelog: 0.4.4...0.4.5

0.4.4

05 Feb 00:39
Compare
Choose a tag to compare

PgOSM Flex 0.4.4

  • Properly include aeroway tags in infrastructure layer #221, #223 @joshbrooks
  • Add functions osm.append_data_start() and osm.append_data_finish() to easy updates with --append mode #222
  • Move nested place data prep to function osm.populate_place_polygon_nested() #222
  • Add Troubleshooting section to manual run steps #220
  • Pin Docker image to specific osm2pgsql version (1.6.0) #219

0.4.3

22 Dec 13:15
3da7d63
Compare
Choose a tag to compare

PgOSM Flex 0.4.3

The main change in this version is to enable the Docker process to load data to external Postgres instance instead of the Docker-internal Postgres instance. The switch in functionality is setting POSTGRES_HOST to a valid external Postgres host. Default is localhost for in-Docker operation. Using PgOSM Flex in this mode requires the target database is properly prepared.

  • In-Docker (localhost) will use hard coded pgosm DB name
  • Setting POSTGRES_DB when POSTGRES_HOST = localhost does nothing
  • External Postgres will always skip the db prep steps (drop/create db)
  • New section of Docs for Postgres Permissions
  • postgres db not required for external DBs. Should work on managed Postgres services (e.g. AWS RDS) w/out this db
  • Add Postgres version check, raises error if < Postgres 12

0.4.2

06 Dec 23:07
4428905
Compare
Choose a tag to compare

PgOSM Flex 0.4.2

Focus of this release was cleanup and testing improvements. The code base should be easier to maintain and understand moving forward, cleanup efforts will continue.

New feature

  • Add osm2pgsql_mode (create/append) to osm.pgosm_flex #212

Bugs

  • Add missing comment to osm.road_polygon.ref - #210
  • Update .sql output name to include date with --input-file - #214

Misc

  • Improve Makefile #214
  • Testing improvements - #214
  • Improve Postgres connection code and testing #207, #208
  • Improve file handling and helper code #206

0.4.1

14 Nov 22:37
23bbb57
Compare
Choose a tag to compare

PgOSM Flex 0.4.1

New feature

  • Add --input-file for specific file, no download, no md5 validation - #192 - Thank you @jacopofar!

Bug fixes

  • Import w/out region failed before pg_dump - #197 - Thank you @robdesideri!
  • Improve run-time validation and improve documentation regarding region/subregion - #198 - Thank you @robdesideri!
  • Unset environment variables, allows subsequent docker exec to run as expected #199, #202

Misc

  • Improve Makefile to be more resilient and modular #200
  • Reorder / improve click input options and associated help #204