-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proof of concept of ocean from static file
- Loading branch information
Showing
4 changed files
with
223 additions
and
1 deletion.
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
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,11 @@ | ||
# Static data | ||
|
||
This directory is for static data that is part of OpenStreetMap Carto | ||
|
||
## sea.geojson | ||
|
||
Hand-placed labels for oceans and major seas. Some data is derived from OpenStreetMap `place=sea` data and other is hand-placed. | ||
|
||
Features crossing 180 degrees need to be repeated for each the west and east side of the map. | ||
|
||
Data is licensed under the [ODbL](http://opendatacommons.org/licenses/odbl/). Copyright Paul Norman and [OpenStreetMap contributors](http://www.openstreetmap.org/copyright). |
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,151 @@ | ||
{ | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"geometry": { | ||
"coordinates": [-150, 0], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"maxzoom": 3, | ||
"minzoom": 1, | ||
"name": "Pacific\nOcean", | ||
"size": "bigger" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [-40, 25], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"maxzoom": 3, | ||
"minzoom": 1, | ||
"name": "Atlantic\nOcean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [75, -20], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"minzoom": 1, | ||
"maxzoom": 4, | ||
"name": "Indian\nOcean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [-180, 80], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"minzoom": 1, | ||
"maxzoom": 2, | ||
"name": "Arctic Ocean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [180, 80], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"minzoom": 1, | ||
"maxzoom": 2, | ||
"name": "Arctic Ocean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [ | ||
[160, 77], | ||
[190, 75], | ||
[220, 77] | ||
], | ||
"type": "LineString" | ||
}, | ||
"properties": { | ||
"minzoom": 2, | ||
"maxzoom": 3, | ||
"name": "Arctic Ocean", | ||
"size": "big" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [ | ||
[-200, 77], | ||
[-170, 75], | ||
[-140, 77] | ||
], | ||
"type": "LineString" | ||
}, | ||
"properties": { | ||
"minzoom": 2, | ||
"maxzoom": 3, | ||
"name": "Arctic Ocean", | ||
"size": "big" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [ | ||
[5, 81], | ||
[65, 83] | ||
], | ||
"type": "LineString" | ||
}, | ||
"properties": { | ||
"minzoom": 2, | ||
"maxzoom": 3, | ||
"name": "Arctic Ocean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [-5, -60], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"maxzoom": 3, | ||
"minzoom": 1, | ||
"name": "Southern Ocean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [-160, -65], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"maxzoom": 3, | ||
"minzoom": 2, | ||
"name": "Southern Ocean" | ||
}, | ||
"type": "Feature" | ||
}, | ||
{ | ||
"geometry": { | ||
"coordinates": [200, -65], | ||
"type": "Point" | ||
}, | ||
"properties": { | ||
"maxzoom": 3, | ||
"minzoom": 2, | ||
"name": "Southern Ocean" | ||
}, | ||
"type": "Feature" | ||
} | ||
] | ||
} |
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