v1.8.0
-
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 includeregionboundary disputes. (Issue #1840)
- To handle disagreements about the location of borders, the
kindmay be prefixed withunrecognized_, e.g:unrecognized_country(wasunrecognizedin v1.7),unrecognized_macroregion,unrecognized_region,unrecognized_countyfor differing viewpoints (seekind:xxbelow). kind:xx: alternatekindaccording to the viewpoint of country codexx. If you want to show features according to a particular viewpoint, then usekind:xxif it exists and fall back tokindif not. The range of values is the same as forkind. Note that the viewpoints are either lower-case ISO 3166-1 alpha-2 codes or the pseudo-codeiso.
- boundaries: Add OSM alternate viewpoints for country, region, and counties boundaries. (Issue #1810)
- We track two kinds of features from OSM for indicating disputes:
- 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 theclaimed_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 arecognized_by=*tag. - disputes which have
dispute=yesordisputed=yes, plus a list of disputant viewpoints in thedisputed_by=*tag. when a viewpoint is listed indisputed_bythen the boundary will have itskind:xxset tounrecognized_*(where XX is the viewpoint / country code and * is the kind of boundary it is).
- claims, which have
- We track two kinds of features from OSM for indicating disputes:
- earth: The former
OpenStreetMapData.comsource is now hosted by FOSSGIS atosmdata.openstreetmap.deand the source property has been updated. Issues (#1855) and (#1859) - landuse: Add
kind_detailfor aerodrome enhancement and backfillkind_detailonaerodromeswith values,public,private,military_public,airfield,international,regional,gliding, and add optionalaerodrome_passenger_countproperty indicating the number of passengers through the aerodrome per year sourced from Wikidata. (Issues #1277 and #1873) - places: Backfill
country_capitalandregion_capitalbooleans 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, eithertrueorfalseto override thecountry_capitalvalue for XX's viewpoint. Note that the viewpoints are either lower-case ISO 3166-1 alpha-2 codes or the pseudo-codeiso, same as forkind:xxon boundaries.region_capital:xx: when present, eithertrueorfalseto override theregion_capitalvalue for XX's viewpoint. Note that the viewpoints are either lower-case ISO 3166-1 alpha-2 codes or the pseudo-codeiso, same as forkind:xxon boundaries.
- places: Add
wikidata_idWikidata ID concordance to features. (Issue #858) - pois: Add optional Wikidata
wikidata_idconcordances. (Issue #858) - pois: Add
kind_detailfor aerodrome enhancement and backfillkind_detailonaerodromeswith values,public,private,military_public,airfield,international,regional,gliding. (Issues #1277 and #1873) - pois: Distinguish military
airfieldfrom genericaerodrome. (Issue #1580) - roads: Ensure runways get
kind_detailpolish by intersecting them with landuseaerodromepolygons using newoverlapfunction. (Issue #1852) - roads: Add missing railway types of
disused,miniature,preserved. (Issue #955) - water: Add optional Wikidata
wikidata_idconcordances. (Issue #858) - water: The former
OpenStreetMapData.comsource is now hosted by FOSSGIS atosmdata.openstreetmap.deand the source property has been updated. Issues (#1855) and (#1859)
BUG FIXES
- boundaries: Rename
unrecognizedtounrecognized_countrykind 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_zoomto 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
elevatoroversubway_entrancewhen both are true. (Issue #1876) - pois: Prefer
memorialoverplaquewhen both are true. (Issue #1872) - pois: Prefer
bus_stopover generic transitplatforms. (Issue #1874) - pois: Improve the collision_rank of
fast_foodPOIs by adjusting several other's rank. (Issue #1875) - pois: Correct generator
kind_detailvalues by using a new OpenStreetMap property. (Issue #1578):- The value of the OpenStreetMap
generator:sourcetag or, if that tag is missing, an interpolation from thegenerator:methodtag. Common values includebiofuel,biogas,biomass,coal,diesel,gas,geothermal,hydro,nuclear,oil,solar,waste,wind.
- The value of the OpenStreetMap
- pois: Only set POI for
harbour,port,port_terminal,ferry_terminal,container_terminalwhen 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 basicnameto promote more feature merging. (Issue #1847) - roads: Remap Natural Earth's "trunk" roads to kind
major_roadinstead ofhighway. (Issue #1280) - roads: Adjust
min_zoomof OpenStreetMap highways and major roads to better match Natural Earth'smin_zooms. (Issue #1279) - roads:
min_zoomsat zoom 5 are mix of 3, 4 and 5 instead of just 5.x. (Issue #1074) - roads: Add low-zoom
tollproperty from Natural Earth to match earlier high-zoom data from OpenStreetMap. (Issue #1817) - roads: Add new road
constructionkind 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,straitandfjordare ranked by size and given akind_tile_rankproperty 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 ofkind_tile_ranks.
- The kinds
- 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_closurekind 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_variantsparam todrop_propertiesfunction which treatsnameas if it's allname:*and variants. (Issue #1847) - Treat
NaNandInfas invalid to deal with bad OpenStreetMap import data. (Issue #1903) - Switch Natural Earth zooms to use actual
min_zoominstead ofscalerank - 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_idfor updates toplanet_osm_*tables. (Issue #1844) - Move more tests to generative (from live OSM data), fix a few tests
- Teach the kind parser to handle
allfilter expressions - Add
capital_alternate_viewpointtransform - Add
major_airport_detectortransform - Add
unpack_viewpoint_claimstransform - Add a
whereclause for filtering features based on their properties, withbase_whereandcutting_whereparameters. - Add pixel
toleranceto polygon merging. - Add
split_thresholdwith 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_snapshotscript - Add Wikidata queries to static assets via new
wikidata_mergescript. (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
- boundaries: Add more