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 includeregion
boundary disputes. (Issue #1840)- To handle disagreements about the location of borders, the
kind
may be prefixed withunrecognized_
, e.g:unrecognized_country
(wasunrecognized
in v1.7),unrecognized_macroregion
,unrecognized_region
,unrecognized_county
for differing viewpoints (seekind:xx
below). kind:xx
: alternatekind
according to the viewpoint of country codexx
. If you want to show features according to a particular viewpoint, then usekind:xx
if it exists and fall back tokind
if 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=yes
ordisputed=yes
, plus a list of disputant viewpoints in thedisputed_by=*
tag. when a viewpoint is listed indisputed_by
then the boundary will have itskind:xx
set 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.com
source is now hosted by FOSSGIS atosmdata.openstreetmap.de
and the source property has been updated. Issues (#1855) and (#1859) - landuse: Add
kind_detail
for aerodrome enhancement and backfillkind_detail
onaerodromes
with values,public
,private
,military_public
,airfield
,international
,regional
,gliding
, and add optionalaerodrome_passenger_count
property indicating the number of passengers through the aerodrome per year sourced from Wikidata. (Issues #1277 and #1873) - places: Backfill
country_capital
andregion_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, eithertrue
orfalse
to override thecountry_capital
value 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:xx
on boundaries.region_capital:xx
: when present, eithertrue
orfalse
to override theregion_capital
value 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: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 backfillkind_detail
onaerodromes
with values,public
,private
,military_public
,airfield
,international
,regional
,gliding
. (Issues #1277 and #1873) - pois: Distinguish military
airfield
from genericaerodrome
. (Issue #1580) - roads: Ensure runways get
kind_detail
polish by intersecting them with landuseaerodrome
polygons using newoverlap
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 atosmdata.openstreetmap.de
and the source property has been updated. Issues (#1855) and (#1859)
BUG FIXES
- boundaries: Rename
unrecognized
tounrecognized_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
oversubway_entrance
when both are true. (Issue #1876) - pois: Prefer
memorial
overplaque
when both are true. (Issue #1872) - pois: Prefer
bus_stop
over generic transitplatform
s. (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 thegenerator:method
tag. 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_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 basicname
to promote more feature merging. (Issue #1847) - roads: Remap Natural Earth's "trunk" roads to kind
major_road
instead ofhighway
. (Issue #1280) - roads: Adjust
min_zoom
of OpenStreetMap highways and major roads to better match Natural Earth'smin_zoom
s. (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
andfjord
are ranked by size and given akind_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 ofkind_tile_rank
s.
- 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_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 todrop_properties
function which treatsname
as if it's allname:*
and variants. (Issue #1847) - Treat
NaN
andInf
as invalid to deal with bad OpenStreetMap import data. (Issue #1903) - Switch Natural Earth zooms to use actual
min_zoom
instead 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_id
for 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
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, withbase_where
andcutting_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
- boundaries: Add more