Skip to content

v1.8.0

Compare
Choose a tag to compare
@nvkelso nvkelso released this 27 Jun 15:56
· 439 commits to master since this release
  • Release date: 2019-06-27.

  • Requires: tileserver v2.2.0 and tilequeue v2.4.0 and rawr_tiles v1.1.0 and coanacatl v1.0.0.

    ENHANCEMENTS

    • boundaries: Add more kind:* point-of-view (POV) from Natural Earth for low zooms for disputed boundary lines, expanding on the v1.7 effort to also include region boundary disputes. (Issue #1840)
      • tilezen_v1d8_disputed_boundaries
      • To handle disagreements about the location of borders, the kind may be prefixed with unrecognized_, e.g: unrecognized_country (was unrecognized in v1.7), unrecognized_macroregion, unrecognized_region, unrecognized_county for differing viewpoints (see kind:xx below).
      • kind:xx: alternate kind according to the viewpoint of country code xx. If you want to show features according to a particular viewpoint, then use kind:xx if it exists and fall back to kind if not. The range of values is the same as for kind. Note that the viewpoints are either lower-case ISO 3166-1 alpha-2 codes or the pseudo-code iso.
    • boundaries: Add OSM alternate viewpoints for country, region, and counties boundaries. (Issue #1810)
      • We track two kinds of features from OSM for indicating disputes:
        1. claims, which have boundary=claim, claimed_by=*, admin_level=* tags. These indicate borders which aren't generally recognized, but should appear in the viewpoint of the claimed_by= value. additionally, extra viewpoints which don't make a claim for themselves but still want the claimant's view reflected in their own can be specified in a recognized_by=* tag.
        2. disputes which have dispute=yes or disputed=yes, plus a list of disputant viewpoints in the disputed_by=* tag. when a viewpoint is listed in disputed_by then the boundary will have its kind:xx set to unrecognized_* (where XX is the viewpoint / country code and * is the kind of boundary it is).
    • earth: The former OpenStreetMapData.com source is now hosted by FOSSGIS at osmdata.openstreetmap.de and the source property has been updated. Issues (#1855) and (#1859)
    • landuse: Add kind_detail for aerodrome enhancement and backfill kind_detail on aerodromes with values, public, private, military_public, airfield, international, regional, gliding, and add optional aerodrome_passenger_count property indicating the number of passengers through the aerodrome per year sourced from Wikidata. (Issues #1277 and #1873)
    • places: Backfill country_capital and region_capital booleans from Natural Earth on high-zoom OSM features, including point-of-view. (Issue #1810)
    • places: Add point-of-view (POV) to capitals from Natural Earth data to all zooms. (Issue #1840)
      • country_capital:xx: when present, either true or false to override the country_capital value for XX's viewpoint. Note that the viewpoints are either lower-case ISO 3166-1 alpha-2 codes or the pseudo-code iso, same as for kind:xx on boundaries.
      • region_capital:xx: when present, either true or false to override the region_capital value for XX's viewpoint. Note that the viewpoints are either lower-case ISO 3166-1 alpha-2 codes or the pseudo-code iso, same as for kind:xx on boundaries.
    • places: Add wikidata_id Wikidata ID concordance to features. (Issue #858)
    • pois: Add optional Wikidata wikidata_id concordances. (Issue #858)
    • pois: Add kind_detail for aerodrome enhancement and backfill kind_detail on aerodromes with values, public, private, military_public, airfield, international, regional, gliding. (Issues #1277 and #1873)
    • pois: Distinguish military airfield from generic aerodrome. (Issue #1580)
    • roads: Ensure runways get kind_detail polish by intersecting them with landuse aerodrome polygons using new overlap function. (Issue #1852)
    • roads: Add missing railway types of disused, miniature, preserved. (Issue #955)
    • water: Add optional Wikidata wikidata_id concordances. (Issue #858)
    • water: The former OpenStreetMapData.com source is now hosted by FOSSGIS at osmdata.openstreetmap.de and the source property has been updated. Issues (#1855) and (#1859)

    BUG FIXES

    • boundaries: Rename unrecognized to unrecognized_country kind value to disambiguate POV on country, region, county, and other boundary types.
    • buildings: Check that building height is in a sensible range by limiting tallest structures to 1000 meters. (Issue #1850)
    • earth: Add variable min_zoom to low zoom features from Natural Earth. (Issue #1287)
    • places: Update Who's On First dump to reflect new and deprecated neigbourhoods. Issues (#1808) and (#1869)
    • pois: Prefer elevator over subway_entrance when both are true. (Issue #1876)
    • pois: Prefer memorial over plaque when both are true. (Issue #1872)
    • pois: Prefer bus_stop over generic transit platforms. (Issue #1874)
    • pois: Improve the collision_rank of fast_food POIs by adjusting several other's rank. (Issue #1875)
    • pois: Correct generator kind_detail values by using a new OpenStreetMap property. (Issue #1578):
      • The value of the OpenStreetMap generator:source tag or, if that tag is missing, an interpolation from the generator:method tag. Common values include biofuel, biogas, biomass, coal, diesel, gas, geothermal, hydro, nuclear, oil, solar, waste, wind.
    • pois: Only set POI for harbour, port, port_terminal, ferry_terminal, container_terminal when they aren't also tagged as waterway, natural water, or landuse reservoir, basin features. (Issue #1590)
    • roads: Speed up road merging, for dense areas like Japan. (Issue #1847)
    • roads: Drop all name:* variants in addition to basic name to promote more feature merging. (Issue #1847)
    • roads: Remap Natural Earth's "trunk" roads to kind major_road instead of highway. (Issue #1280)
    • roads: Adjust min_zoom of OpenStreetMap highways and major roads to better match Natural Earth's min_zooms. (Issue #1279)
    • roads: min_zooms at zoom 5 are mix of 3, 4 and 5 instead of just 5.x. (Issue #1074)
    • roads: Add low-zoom toll property from Natural Earth to match earlier high-zoom data from OpenStreetMap. (Issue #1817)
    • roads: Add new road construction kind with kind_detail from the usual kind from zoom 12+. (Issue #394)
      • kind_detail: motorway, motorway_link, trunk, primary, secondary, tertiary, trunk_link, unclassified, residential, road, primary_link, secondary_link, living_street, service, pedestrian, track, cycleway, bridleway, tertiary_link, footway, steps, `corridor
    • water: Reduce the marine water labels visible at zoom 8 by limiting number of bays in the tile to the largest 10. (Issue #1838)
      • The kinds bay, strait and fjord are ranked by size and given a kind_tile_rank property that starts from 1 and counts up as the feature gets smaller. Note that the ranking is done on a "metatile", which means that each tile (of size 256px, 512px or other) won't necessarily contain the full range from 1 to N of kind_tile_ranks.
    • water: Water boundary lines now indicate intermittent property (playas), matching their polygons. (Issue #1249)

    DOCUMENTATION CHANGES

    • Updated TileJSON for v1.8 schema changes.
    • Updated Layers documentation for v1.8 schema changes.
    • Resolved some dangling TODOs from v1.7.0 documentation release.
    • traffic_incidents: Add road_closure kind to indicate if a road has been closed, e.g. due to police presence. Thanks @conor-ettinoffe-here! (Issue #1857)

    INTERNAL CHANGES

    • Add all_name_variants param to drop_properties function which treats name as if it's all name:* and variants. (Issue #1847)
    • Treat NaN and Inf as invalid to deal with bad OpenStreetMap import data. (Issue #1903)
    • Switch Natural Earth zooms to use actual min_zoom instead of scalerank
    • Fix polygon merging failure related to GEOS/Shapely polygon merging routine unary_union. (Issue #1848)
    • Perform faster SQL updates by moving indexes to their own separate parallel step and add 4x sharding over osm_id for updates to planet_osm_* tables. (Issue #1844)
    • Move more tests to generative (from live OSM data), fix a few tests
    • Teach the kind parser to handle all filter expressions
    • Add capital_alternate_viewpoint transform
    • Add major_airport_detector transform
    • Add unpack_viewpoint_claims transform
    • Add a where clause for filtering features based on their properties, with base_where and cutting_where parameters.
    • Add pixel tolerance to polygon merging.
    • Add split_threshold with default of 15,000 features to line merging.
    • Update Who's On First import pipeline by generating WOF neigbourhoods into assets bundle (instead of stale database dump) via new wof_snapshot script
    • Add Wikidata queries to static assets via new wikidata_merge script. (Issue #1878)
    • Switch to Natural Earth v5.0.0-pre5 pre-release data assets for boundaries and places themes to support point-of-view work.
    • Upgrade boto to 2.49.0 (but add and peg urllib3 to 1.24.3 as they interact)
    • Add tqdm 4.31.1 requirement