Tilezen vector tile service - OpenStreetMap data in several formats
OTHER License
Published by nvkelso almost 8 years ago
Published by nvkelso almost 8 years ago
Published by nvkelso almost 8 years ago
Published by nvkelso about 8 years ago
Documentation fixes for v0.10.5 release.
Published by nvkelso about 8 years ago
Updated docs for v1.0.0 public release.
Published by nvkelso about 8 years ago
See changelog for v1.0.0-pre1, v1.0.0-pre2, and v1.0.0-pre3.
Published by zerebubuth about 8 years ago
sort_key
to sort_rank
. PR #1049./mapzen
prefix to tilejson tiles URL. PR #1047.min_zoom
parameter to all features. PR #1031.A
or M
before numeric references. PR #1039.level
, namealt
and namealtt
. Adds network
and shield_text
for some countries. PR #1035.operator
, protect_class
, ...) to classify as a kind: national_park
. PR #1034.name:left:*
and name:right:*
where the data is available. PR #1022.tier
parameter to simplify client-side rendering rules. PR #997.Published by nvkelso about 8 years ago
Release date: 2016-08-31 (dev build only as public preview 2016-09-07)
See detailed Breaking changes, New features, Bug fixes, and Internal Changes sections below.
Requires: tileserver v0.8.0-pre2 and tilequeue v0.11.0-pre2
all layers: Revert to 2 letter language codes to remove client 3-char to 2-char shim logic, with better fallbacks. (#972)
boundaries, places, and roads layers: Remove raw Natural Earth scalerank
(see min_zoom
instead) and labelrank
properties. (#992)
buildings layer: remove label placements from low- and mid-zooms, keep at zoom 16+. (#679)
landuse layer: Low- and mid-zoom landuse polygons are now merged within the same kind
values to significantly reduce file size. Some properties, like name
, id
, sport
, religion
, and surface
are dropped, and the area
is recalculated for new combo polygons. Planned work will add back some detail by adding scale_rank
classes pre-merge (matching buildings layer behavior). (#583)
landuse layer: Remove label placements for cemetery
, farm
, forest
, forest
, golf_course
, grave_yard
, military
, national_park
, natural_forest
, natural_wood
, nature_reserve
, park
, pitch
, plant
, protected_area
, quarry
, recreation_ground
, substation
, village_green
, wastewater_plant
, water_works
, winter_sports
, wood
, works
features, moving them to pois layer. Remaining label placements are recommended for text only label treatment.(#742)
landuse layer: remove label placements from low- and mid-zooms, keep at zoom 15+. (#679)
places layer: Additional locality changes for places layer to normalize place layer kinds: capital
changes to country_capital
, state_capital
changes to region_capital
, scientific_station
localities get their own kind_detail
, and other bug fixes for (#840). (#931)
pois layer: Remove the cuisine
property (see new kind_detail
instead). (#719)
pois layer: Modify default min_zoom for gate
features. Gates on major roads are now visible at zoom 14, gates on intermediate roads at zoom 15, gates on minor roads at zoom 16, and gates not on roads at zoom 17 (was all zoom 15). (#820)
roads layer: Remove aerialway
, highway
, piste_type
, railway
, in favor of coalescing their values into a new kind_detail
property (and change incorrect subkind
reference in documentation to kind_detail
). (#970)
transit layer: rename root_relation_id
property to root_id
, matching new building layer configuration. (#969 and #653)
water layer: Remove duplicative and poor resolution sea
polygons (but keep their label centroids) to save Venice and other cities from early global warming! This also addressed excessive sea labels in most Mapzen house styles. (#951)
tilejson: Major upgrade to reflect all layers and properties. (#938)
versioning: Add semantic versioning (semver) document detailing the promises Tilezen makes about major, minor, and patch versions and data model changes. (#948)
buildings layer: Building parts may receive a root_id
corresponding to the building feature, if any, with which they intersect. (#653)
landuse layer: Add graveyard
features. (#742)
landuse layer: Add camp_site
features for camp grounds. (#875)
pois layer: Add cemetery
, farm
, forest
, forest
, golf_course
, military
, national_park
, natural_forest
, natural_wood
, nature_reserve
, park
, pitch
, plant
, protected_area
, quarry
, recreation_ground
, substation
, village_green
, wastewater_plant
, water_works
, winter_sports
, wood
, works
features with adjusted zoom ranges over their previous availability in the landuse layer as label placements. All remaining label placements in the landuse layer are no longer recommended for icon label treatment. (#742)
pois layer: Add graveyard
features. (#742)
pois layer: Add art gallery
features. (#990)
pois layer: Add kind_detail
property sourced from sport
for pitch
features and sourced from cuisine
for biergarten
, pub
, bar
, restaurant
, fast_food
, cafe
kinds (removing the cuisine
property). (#719)
roads layer: To support highway shields a new shield_text
property has been added, network
values have been normalized (and bicycle networks are now excluded). An example: for "US 101" we now store network
of US:US and shield_text
of 101. Multiple shields are supported via optional all_networks
and all_shield_texts
lists (which work in GeoJSON and TopoJSON but not MVT formats, follow mapbox-vector-tile/#64 for a fix). The ref
property remains available but is less useful for shield construction. (#192 and #896)
all layers: Support fractional zoom for POIs, places, and other featues which were only appearing at the next whole integer tile, and rounds min_zoom values to 2 decimal places. For example: a feature with min_zoom
of 14.8 was only appearing in zoom 15 tiles when it should have appeared in the zoom 14 tile. (#976)
boundaries layer: Correct bug where sort_key
mapping wasn't updated for new boundary kind
values from v1.0.0-pre1. (#1012)
places layer: Adjust default zoom ranges for Natural Earth localities at the low-zooms and Natural Earth and OpenStreetMap localities at mid- and high-zooms. (#981 and #982)
places layer: Exclude region_capital=false
properties. (#1003 and #931)
pois layer: Add OpenStreetMap source
attribution per feature. (#922)
pois layer: Start querying for pois at z4, not z2 (matching the landuse layer). (#994)
pois layer: Show large camp_site
features at earlier zooms. (#875)
pois layer: Removed transit halt
, station
, stop
, and tram_stop
features marked as historic. (#661)
pois and landuse layers: Normalize operator
values for United States National Park Service
, United States Forest Service
, and National Parks & WildlWildlifeife Service NSW
in the U.S.A. and Australia. (#927)
roads layer: Pedestrian paths and piers were missing bicycle: designated
and related tags. Now that they are exported, they are correctly also decorated as is_bicycle_related: True
. (#832)
roads layer: Add additional properties sidewalk_left
and sidewalk_right
to all road layer features. (#605 and #986)
roads layer: Remove crossing
, sidewalk
, sidewalk_left
and sidewalk_right
properties for road merge. (#993)
roads layer: Drop meaningless id
property on merged features. (#952)
transit layer: Add OpenStreetMap source
attribution per feature. (#935)
documentation: Update earth layer documentation to reflect additional line
and point
geometry types. (#808)
documentation: Update boundaries and landuse layer documentation to reflect barriers moving into the landuse layer. (#932)
documentation: Update places layer documentation to reflect new kind
and kind_detail
values, locality, suburb, quarter, state, province, region, capital, and other changes. (#934)
documentation: Update buildings layer documentation to reflect new kind
and kind_detail
values and building_part
changes. (#933) and related (#842)
documentation: Update roads layer documentation to reflect new kind
and kind_detail
values, and remove erroneous reference to exit
. (#936)
contributing: Adding a step to create a test_config.yaml
file. (#1001)
performance: Move label centroid calculation to database to reduce network pressure on the database (post processing transform needed too much geometry) in landuse, water, earth, and buildings layers. (#965)
performance: Add pois indexes for OpenStreetMap polygon and point tables to improve query time. (#983)
database: Convert Postgres PostGIS database to utilize osm2pgsql's --hstore-all
option. (#876)
database: Convert Postgres PostGIS database projection to EPSG:3857
. (#908)
database: Convert min_zoom
properties to REAL from INT to support fractional values. (#976)
import: Remove default -W UTF-8
from data import config for shp2pgsql. (#946)
import: Add shim in apply non planet sql to better accommodate invalid geometries. Track longer term fix in #979. (#1003)
indexes: Update road indexes to refer to mz_road_level
alone. (#956)
tests: Correct test failure for hotels as upstream data had changed. (#959)
tests: Ensure that when config_all_layers
is set, the all layer is requested. (#974)
Published by nvkelso about 8 years ago
Release date: 2016-07-22 on dev as public preview
See detailed Breaking changes, New features, Bug fixes, and Internal Changes sections below.
Requires: tileserver v0.7.0 and tilequeue v0.10.0
new url scheme: Mapzen now offers several different types of tiles in vector and raster formats and we combine data from multiple sources. The URL scheme has been updated to reflect this, and emphasize versions. The old URL will continue to work (~1 year), but updates will stop once v1.0.0 is released to production. (#652)
http://tile.dev.mapzen.com/vector/v1/all/{z}/{x}/{y}.topojson
http://vector.dev.mapzen.com/osm/all/{z}/{x}/{y}.topojson
https://tile.mapzen.com/vector/v1/all/{z}/{x}/{y}.topojson
https://vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson
http://tile.dev.mapzen.com/vector/v1/tilejson/mapbox.json
https://tile.mapzen.com/vector/v1/tilejson/mapbox.json
https://vector.mapzen.com/osm/tilejson/mapbox.json
roads layer: Reclassify airport runway and taxiways as new aeroway
kind (was minor_road
), and change their sort order to be under equivelant landuse polygons. (#895)
roads layer: Reclassify road layer kind values sourced from Natural Earth to use OpenStreetMap style kind values. (#890)
roads layer: Normalize several kind values to remove -
and replace with _
, including drive_through
, j_bar
, and t_bar
. (#843)
boundaries layer: Reclassify boundary layer kind
values for some OpenStreetMap, including region
(was state
), locality
(was municipality
), and many country related kind changes from Natural Earth at low zooms. (#841)
places layer: Normalize place layer kinds coming from OpenStreetMap and Natural Earth to more closely match Who's On First (mostly using locality
kind, with new kind_detail
storing the original OSM and NE values). See this lookup table for details. (#840)
places layer: Remove country labels from zoom 0, 1 to reduce tile file size. (#837)
places layer: Remove some types of OpenStreetMap neighbourhoods (borough
, suburb
, and quarter
) in favor of Who's On First neighbourhoods. (#744)
pois layer: Rename several kinds to distinguish aeroway_gate
from gate
, specify gas_canister
shops (was gas
which was confusing with automotive gas stations), and split off ski_rental
if a ski
feature was primarily a rental facility. (#844)
landuse layer: Rename several kinds to distinguish natural_wood
from wood
parks, natural_forest
from forest
parks, and natural_park
from natural
parks. (#844)
transit layer: route_name
on line geometries is now simply name
. (#729)
landuse layer: Normalize urban_area
landuse kinds from Natural Earth (was urban area
). (#713)
landuse and boundaries layers: Move barrier lines from boundaries layer into landuse layer. Includes city_wall
, dam
, fence
, retaining_wall
, and snow_fence
. Watch out for dam
which is now both a polygon and line in the same landuse layer. (#857)
buildings layer: Reclassify building layer kind values to only have building
or building_part
, moved the earlier kind values to newnew kind_detail
property with a whitelist of values. (#842)
buildings layer: Reduce building payloads by merging buildings of similar type at zooms 13, 14, and 15 by dropping some properties like name
, addr_housenumber
, and addr_street
, and quantizing others like height
to 10 meters (zoom 13), 5 meters (zoom 14), and nearest meter (zoom 15). Also added new scalerank
property with large buildings at 1 and small buildings at 5 to improve client-side style filtering & draw performance. (#845)
Remove landuse-labels layer in favor of label placements in landuse
layer and pois
features. (#852)
Use boolean values instead of 'yes' for properties likeosm_relation
and label_placement
. (#778)
Names that have been localized now use the l10n language codes (ala Who's On First) for all data sources. For example: name:en
imported from OpenStreetMap is exported as name:eng
. (#418)
roads layer: Add racetracks as type of minor_road
sourced from OpenStreetMap's highway=raceway
. See #664)
roads layer: Add indoor corridors as type of path
sourced from OpenStreetMap's highway=corridor
. (#605)
roads layer: Add properties for crossing=*
, sidewalk=*
to all road layer features. (#605)
roads layer: Add bridleway
as type of path
. (#859)
pois layer: Add toll_booth
sourced from OpenStreetMap's barrier=toll_booth
. (#479)
pois and landuse layers: Add rest_area
and service_area
kinds sourced from OpenStreetMap's highway=rest_area
and highway=services
. (#480)
places layer: Add localized names for Who's On First sourced neighbourhoods using l10n conventions. (#418)
places layer: Add borough
features from Who's On First (e.g.: Manhattan in New York City). (#654)
pois layer: Some walking network points were wrongly classified as rwn
when they were actually iwn
. (#844)
pois and landuse layers: garden
kind should win over attraction
, and add garden point geometries (was previously limited to polygon features). (#829)
pois layer: Show windmill
features earlier, especially if they are a tourist attraction. (#830)
pois layer: Show lighthouse
features earlier, especially if they are a tourist attraction, as lighthouses. (#860)
pois layer: Show camp grounds (camp_site
) earlier. (#875)
Update JSON encoding to handle invalid geometries (use the python round
function), improves but does not completely solve invalid geometries in other formats like MVT. (#698)
Drop all internal properties with a custom mz
prefix, affected mz_is_building
in landuse layer, but could have affected more layers. (#622)
pois layer: Remove several redundant filters for boat_storage
, firepit
, dry_cleaning
, toilets
, theatre
, and picnic_site
. (#844)
Make pixel size threshold configurable for layers like landuse and water. (#202)
For label placements, enable configurable pixel size threshold. (#810)
Use json types and functions compatible with postgresql 9.3 to support better hstore tag usage. (#826)
Migrate more pois layer transform functions to yaml (leisure, transit station states, aeroway gates). (#754.
Add ability to set configurable buffer for MVT format per layer and geometry type. The default MVT config remains clipped (un-buffered), however. (#106)
Remove TileStache dependency, moving Python transforms into vector-datasource repo. (#211)
CORRECTION: An earlier version of the release notes stated dev urls used https when they use http (without an API key postfixed). Also added breaking note about localized names now using l10n language codes. Also added label_placement
to list of boolean examples.
Published by nvkelso over 8 years ago
Published by nvkelso over 8 years ago
Published by nvkelso over 8 years ago
_
separator. See #806.Published by nvkelso over 8 years ago
Published by nvkelso over 8 years ago
roads
layer:
path
, footway
, and cycleway
features are visible earlier up to zoom 11, based on their designation as or inclusion in walking and cycling networks.footway
and stair
features are visible later than before at zoom 15.footway
property to disentangle sidewalk
and crossing
features from other footways.walking_network
property with values in iwn
, nwn
, rwn
, and lwn
to indicate features's international to local significance.bicycle
, foot
, horse
, tracktype
, incline
, trail_visibility
and sac_scale
.roads
layer:
is_bicycle_related
property, set to true
when road is a cycleway, part of a cycling network, or has bicyle lanes or other cycling related infrastrucure.bicycle_network
property with values in icn
, ncn
, rcn
, and lcn
to indicate features's international to local significance.cycleway
, cycleway_left
, cycleway_right
, oneway_bicycle
, and segregated
.landuse
layer:
landuse
layer:
tree_row
and hedge
.pois
layer:
adit
, battlefield
, bbq
, beach_resort
, beacon
, bicycle_repair_station
, boat_rental
, boat_storage
, caravan_site
, communications_tower
, cross
, dam
, dive_centre
, dog_park
, dune
, egress
, firepit
, fishing_area
, fishing
, fort
, gas
, geyser
, hazard
, hot_spring
, hunting
, life_ring
, mast
, mineshaft
, monument
, motorcycle
, observatory
, offshore_platform
, outdoor
, petroleum_well
, picnic_site
, picnic_table
, power_pole
, power_tower
, put_in_egress
, putin
, pylon
, ranger_station
, rapid
, recreation_track
, rock
, saddle
, scuba_diving
, shower
, sinkhole
, stone
, summer_camp
, swimming_area
, telescope
, trailhead
, waterfall
, waste_disposal
, water_park
, water_point
, water_tower
, water_well
, and watering_place
.roads
layer.
portage_way
dam
to the boundaries
layer, and removed it from the water
layer. See #663 and #773.waterfall
features to the pois
layer:
height
value in integer meters.peak
features in the pois
layer:
intermittent
property to water
layer features:
yes
allows styling to distingish streams that do not run year round.pois
layer:
putin
, egress
, put_in_egress
, hazard
and rapid
.portage_way
features added in the roads
layer.bicycle_junction
features in pois
layer:
ref
value is derived from one of icn_ref
, ncn_ref
, rcn_ref
or lcn_ref
, in descending order and is suitable for naming or use in a shield.cycle_barrier
features to the pois
layer at zoom 18. See #592.pois
layer:
bicycle
shops are now visible earlier at zoom 15.bicycle_rental
is now visible at zoom 16.bicycle_rental_station
are split off from bicycle_rental
shops and are visible at zoom 17. They include additional properties for capacity
(an integer value), network
, operator
, and ref
.bicycle_parking
gain additional properties for access
, capacity
, covered
, fee
, operator
, maxstay
, and surveillance
.walking_junction
to the pois
layer:
ref
value is derived from one of iwn_ref
, nwn_ref
, rwn_ref
or lwn_ref
, in descending order and is suitable for naming or use in a shield.island
, islet
, and archipelago
label placement points to the earth
layer. See #399.cliff
and arete
lines to earth
layer. See #601.ridge
and valley
to the earth
layer. See #601.continent
label placements to the earth
layer from the places
layer, a breaking change. See #703.ocean
and sea
label positions to the water
layer from the places
layer, a breaking change. See #148.kind
values in the boundaries
layer, a breaking change:
kind
values in the water
layer, a breaking change:
sources
to the earth
layer:
naturalearth.com
, openstreetmapdata.com
, or openstreetmap.org
as source.yes
kind pois
to their respective values, including generic office
. See #705.roads
layer at zoom 16 (the max zoom). See #766.roads
layer should produce long lines, not many 2 segment lines. See #768.highway=minor
and highway=footpath
in roads
layer queries. See #680.kind
values using YAML config files across all layers to provide more determinism and eliminate yes
values. Follow on to v0.9 changes in #580 and #282. See #646 and #687
Published by nvkelso over 8 years ago
station
features in the pois
layer, emphasizing rail stations over other types of transit. See #506.station
features from mid-zooms in the pois
layer. See #506.station
features in the pois
layer by limiting "merging" to zooms less than 15. See #506.station
& railway tram_stop
features in the pois
layer earlier at zoom 13. See #587.station
transit service types in pois
layer. See #352.state
property to station
features in the pois
layer to indicate planned and under construction features. See #484.root_relation_id
ID value on transit station
features in the pois
layer. See #590. CORRECTED 9/31: earlier documentation incorrectly said osm_site_relation
.uic_ref
to station
features in the pois
layer.pois
layer and lines to the transit
layer for grab bag of stops, halts, stop areas, and platforms. See #469.transit
layer features at earlier zoom levels, including international train
, subway
, light_rail
, and tram
. See #472.funicular
and monorail
features to the transit
layer. See #588.railway
from the transit
layer; they don't have passenger service. See #501.service
values to transit
layer line features to indicate international, national, and regional importance. See #471.is_bus_route
property to features in the roads
layer starting at zoom 12 if any bus
or trolley_bus
route passes along the way. No indication is provided for which bus routes at this time. See #611.subway
and funicular
lines to roads
layer as a type of rail
. See #549 and #510.disused
features from the pois
layer, for instance disused railway stations. See #368.closed
and historical
features to zoom 17+ in the pois
and buildings
layers. See #291 and #483.mz_is_building
property from features in the landuse
layer. See #333.kind
calculation logic from pure SQL to CSV spreadsheets for easier config and address outstanding SQL coalesce bugs. See #580 and #282.source
property across all layers. If you have custom place filters, this will be a breaking change. See #503.water
layer for bay
, strait
, and fjord
. Issue #400
pois
layer for hardware
and trade
to capture more types of "big box" stores. Issue #520
pois
layer to celebrate International Women's Day. Issue #526
childcare
, clinic
, dentist
, doctors
, kindergarten
, midwife
, phone
, social_facility
, and toilets
.ambulatory_care
, assisted_living
, food_bank
, group_home
, outreach
, shelter
, workshop
, see TagInfo for full set.pois
layer. Issues 520 and 522
pois
layer now inludels all features at zoom 16 that were only available in zoom 17 and 18 previously. But we now include a recommended min_zoom
to replicate the earlier behavior. Issue #478
tile_kind_rank
values in the pois
layer by including more data. Railway route extraction no longer relies on the planet_osm_nodes
table, which may be missing if flat nodes is enabled. Issue #507
buildings
layer now includes all buildings (no filter) at zoom 16, with min_zoom
properties being added at zoom >= 16. Addresses are included at zoom 16 but are marked min_zoom:17
. Issue #557
boundaries
layer fences
are now included at zoom 16 (was 17). Issue #478
roads
and landuse
layers receive a significant overhall to sort_key
values. The sort_key
value is a suggestion for which order to draw features. The value is an integer where smaller numbers suggest that features should be "behind" features with larger numbers. Issues 364 and 546
sort_key
values including boundaries
, buildings
, earth
, transit
, and water
that are compatible with the values in the roads
and landuse
layers. Issue #550
Published by nvkelso over 8 years ago
Published by nvkelso over 8 years ago