Releases: rustprooflabs/pgosm-flex
0.6.0
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
andosm.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
andosm.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. --append
process across PgOSM Flex versions.
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
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
0.4.7
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
andemergency_access_point
underosm_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
PgOSM Flex 0.4.6
Data changes
- Add
osm_subtype
toamenity
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
PgOSM Flex 0.4.5
- Remove
boundary
records from buildings #228, #230 @jacopofar - Allow all
boundary
records to load toplace
layer #230 - Fix
--input-path
with absolute path #232, improve help message #233 - Switch some log messages from
info
todebug
#231
Full Changelog: 0.4.4...0.4.5
0.4.4
PgOSM Flex 0.4.4
- Properly include aeroway tags in infrastructure layer #221, #223 @joshbrooks
- Add functions
osm.append_data_start()
andosm.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
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
whenPOSTGRES_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
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) toosm.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
0.4.1
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