-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version 3.0.0 #36
Merged
version 3.0.0 #36
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
fcbacaf
3.0 skeleton
mapsam c68a5f1
name, tilejson, version, description
mapsam f435790
bounds first draft
mapsam d2ccb6c
MAY assume
mapsam 843b24a
update version major example
mapsam 0f99d1a
Merge pull request #37 from mapbox/3.0-some-defaults
mapsam df1abd9
maxzoom, minzoom, scheme (#38)
4c6d3e1
Merge pull request #39 from mapbox/3.0-bounds
mapsam 220b1d2
tiles (#40)
f6222b5
Add center field
8a49bf7
data section
mapsam 0fae0fb
copy over grids
mapsam 82db2bc
legend
mapsam 23d9b50
template
mapsam 6602339
Merge pull request #46 from mapbox/3.0-template
mapsam 98b83d6
Merge pull request #44 from mapbox/3.0-grids
mapsam cf02a6a
fix line break
mapsam 3cbba96
Merge pull request #41 from mapbox/3.0-center
mapsam d5893b5
Merge pull request #45 from mapbox/3.0-legend
mapsam 904fcdb
Per pnorman's suggestions
290dcbc
full semver versioning
95c6887
Update directory name based on valid semver versioning
98347eb
Forgot to delete the old dir
9be059c
RFC 8259 is the current JSON spec (#47)
sgillies ea730ae
add fillzoom
mapsam fcf4ebb
quick updates from @springmeyer
mapsam 1d2c830
Merge pull request #50 from mapbox/3.0-fillzoom
mapsam bc1ec09
Merge branch '3.0' into 3.0-data
mapsam 46c88f8
clarify data field usage
mapsam fd8bed5
Merge pull request #43 from mapbox/3.0-data
mapsam 3be314d
vector_layers (#42)
mapsam f44702e
3.0 notes and updates (#52)
5e75cf8
add data types, some review updates
mapsam b44b41c
final edits
mapsam 5d1b8c4
update CHANGELOG'
mapsam e7ca6b1
update README and changelog
mapsam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# TileJSON 3.0 | ||
|
||
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). | ||
|
||
**Table of contents** | ||
|
||
1. [Purpose](#1-purpose) | ||
1. [File format](#2-file-format) | ||
1. [Structure](#3-structure) | ||
1. [attribution](#31-attribution) | ||
1. [bounds](#32-bounds) | ||
1. [center](#33-center) | ||
1. [data](#34-data) | ||
1. [description](#35-description) | ||
1. [grids](#36-grids) | ||
1. [legend](#37-legend) | ||
1. [maxzoom](#38-maxzoom) | ||
1. [minzoom](#39-minzoom) | ||
1. [name](#310-name) | ||
1. [scheme](#311-scheme) | ||
1. [template](#312-template) | ||
1. [tilejson](#313-tilejson) | ||
1. [tiles](#314-tiles) | ||
1. [vector_layers](#315-vector_layers) | ||
1. [version](#316-version) | ||
1. [Examples](#4-examples) | ||
|
||
# 1. Purpose | ||
|
||
This specification attempts to create a standard for representing metadata about multiple types of web-based map layers, to aid clients in configuration and browsing. | ||
|
||
# 2. File Format | ||
|
||
TileJSON manifest files use the JSON format as described in [RFC 4627](https://www.ietf.org/rfc/rfc4627.txt). | ||
|
||
# 3. Structure | ||
|
||
Implementations MUST treat unknown keys as if they weren't present. However, implementations MUST expose unknown key/values in their API so that API users can optionally handle these keys. Implementations MUST treat invalid values for keys as if they weren't present. If the key is required, implementations MUST treat the entire TileJSON manifest file as invalid and refuse operation. | ||
|
||
## 3.1 `attribution` | ||
|
||
REQUIRED|OPTIONAL (description of dependents/dependencies) | ||
|
||
**Description:** | ||
|
||
**Example:** | ||
|
||
## 3.2 `bounds` | ||
## 3.3 `center` | ||
## 3.4 `data` | ||
## 3.5 `description` | ||
## 3.6 `grids` | ||
## 3.7 `legend` | ||
## 3.8 `maxzoom` | ||
mapsam marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## 3.9 `minzoom` | ||
## 3.10 `name` | ||
## 3.11 `scheme` | ||
## 3.12 `template` | ||
## 3.13 `tilejson` | ||
## 3.14 `tiles` | ||
## 3.15 `vector_layers` | ||
## 3.16 `version` | ||
|
||
# 4. Examples | ||
|
||
Examples can be found in the example/ directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
schema | ||
mapsam marked this conversation as resolved.
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GretaCB Since
vector_layers
is the first field with two words, do we want to explicitly document that we prefer underscores_
as separators?