Skip to content

Releases: paulmach/osmzen

v1.8.1

16 May 17:50
ff05d75
Compare
Choose a tag to compare

Update dependencies

v1.8.0

07 Jan 05:59
ffbae9e
Compare
Choose a tag to compare

This release brings everything up to tilezen/vector-datasource v1.8.0.

These filter functions were added for some POI filters:

  • tz_estimate_parking_capacity
  • tz_looks_like_service_area
  • tz_looks_like_rest_area

Added these transforms:

  • population_rank
  • major_airport_detector
  • add_vehicle_restrictions
  • pois_direction_int

Added a lot of postprocessors that might be useful:

  • remap - clean up some field values at zoom 13
  • drop_names - used by landuse at zoom 13
  • whitelist - approved values for certain fields, like road types.
  • quantize_height - building heights
  • clamp_min_zoom - keep features in higher zoom if they have a low scale_rank
  • add_collision_rank - big one to sort label placement
  • update_parenthetical_properties - removes feature if (closed) or similar at the end of the name

Benchmarks

benchmark                           old ns/op     new ns/op     delta
BenchmarkFullTile-12                6680182       7403002       +10.82%
BenchmarkProcessGeoJSON-12          4874742       5585685       +14.58%

benchmark                           old allocs     new allocs   delta
BenchmarkFullTile-12                21920          21983        +0.29%
BenchmarkProcessGeoJSON-12          11536          11599        +0.55%

benchmark                           old bytes     new bytes     delta
BenchmarkFullTile-12                2625968       2830462       +7.79%
BenchmarkProcessGeoJSON-12          1178621       1381118       +17.18%

Not sure why the runtime and bytes have increased. A lot is different.

Performance and Memory usage enhancements

21 Nov 19:12
Compare
Choose a tag to compare
benchmark                     old ns/op     new ns/op     delta
BenchmarkBuildings-4          11424         5551          -51.41%
BenchmarkPOIs-4               158865        83012         -47.75%
BenchmarkFullTile-4           10474616      9067303       -13.44%
BenchmarkProcessGeoJSON-4     8429415       6303409       -25.22%

benchmark                     old allocs     new allocs     delta
BenchmarkBuildings-4          56             42             -25.00%
BenchmarkPOIs-4               547            546            -0.18%
BenchmarkFullTile-4           27782          23384          -15.83%
BenchmarkProcessGeoJSON-4     18125          13112          -27.66%

benchmark                     old bytes     new bytes     delta
BenchmarkBuildings-4          1208          536           -55.63%
BenchmarkPOIs-4               8312          8264          -0.58%
BenchmarkFullTile-4           3351093       2652721       -20.84%
BenchmarkProcessGeoJSON-4     1993707       1198836       -39.87%

Consistent with tilezen/vector-datasource v1.5.0

07 Oct 23:35
Compare
Choose a tag to compare

This release uses yaml+csv files from vector-datasource v1.5.0 and tries to implement the same matching, filtering and post processing functionality. Notably missing are landuse_kind intercuts, merging line strings, merging building with building parts and any admin area matching used to get accurate country codes for highways and other objects. See README for more details.