Closed nvkelso closed 8 years ago
It's 99.83% OSM by size, which means calling it "osm" is accurate. However, because we label each data item with a source, it's superfluous to name the dataset as well. My first thought was to drop the prefix completely, but perhaps we should think about what the most appropriate way is to handle tilesets with default "extra" data baked in: Is it preferable to have additional "meta-layers" like all
, or use a different prefix?
Redirect users asking for the osm
prefix to the no-prefix version.
Or: https://tile.mapzen.com/vector/v1/all/{z}/{x}/{y}.topojson
https://tile.mapzen.com/raster/normal/v1/all/{z}/{x}/{y}.png
https://tile.mapzen.com/neat/v1/all/{z}/{x}/{y}.topojson
Drop raster, https://tile.mapzen.com/normal/v1/all/{z}/{x}/{y}.png
/cc @bcamper
This is heading in a logical direction. Not sure all
make sense for raster tiles (or at least normals/elevation, maybe it would for rendered rasters if we ever did that)?
Yep.
https://tile.mapzen.com/vector/v1/all/{z}/{x}/{y}.topojson
https://tile.mapzen.com/neat/v1/{z}/{x}/{y}.neat
https://tile.mapzen.com/normal/v1/{z}/{x}/{y}.png
@nvkelso should the tilejson urls look like this?
https://tile.mapzen.com/vector/v1/tilejson/mapbox.json
Working for me.
As discussed in the tiles meeting today, we should add a user account part to the URL pattern:
General pattern:
https://tile.mapzen.com/{username}/{projectname}/v{versionnumber}/{optional_layername}/{z}/{x}/{y}.{format}
Specific examples:
https://tile.mapzen.com/mapzen/vector/v1/all/{z}/{x}/{y}.topojson
https://tile.mapzen.com/mapzen/terrain/v1/normal/{z}/{x}/{y}.png
https://tile.mapzen.com/mapzen/neat/v1/{z}/{x}/{y}.neat
And we're still searching for a better name besides vector
for the default basemap project.
We should track any additional work for final production deploy in https://github.com/mapzen/tile-tasks/issues/94.
Confirmed with product & documentation teams that we'll stick with vector
as the project name for v1 launch. There isn't a compelling alternative & there's cost of getting people to adopt whatever the new thing might have been.
Nothing more to do here.
We use several different data providers in our tiles, calling these
osm/
is not accurate. Either we drop it or replace it with another name.Proposed:
url: https://vector.mapzen.com/all/{z}/{x}/{y}.topojson
orurl: https://vector.mapzen.com/newname/all/{z}/{x}/{y}.topojson
Existing:
url: https://vector.mapzen.com/osm/all/{z}/{x}/{y}.topojson
Still support the old syntax, though (especially for the archived v0.7, v0.8, & etc tile sets).