Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

eol corrections, added alternate mml for multi-use

  • Loading branch information...
commit 052cc8a1ed5a52cb0fe8b6fa240077f84dd79f36 1 parent 9f2084d
@mcewand mcewand authored
View
127 MEI-Mapping.mml
@@ -0,0 +1,127 @@
+{
+ "bounds": [
+ -180,
+ -85.05112877980659,
+ 180,
+ 85.05112877980659
+ ],
+ "center": [
+ -8.863220214843762,
+ 31.191070618296855,
+ 7
+ ],
+ "format": "png",
+ "interactivity": {
+ "layer": "Data_Points11-8",
+ "template_teaser": "[DATE] <BR><b>[TITLE]</b><BR>\n\n<em>[CITY][COUNTRY]</em>",
+ "template_full": "[DATE] <BR><b>[TITLE]</b><BR>\n[BODY] [SOURCE]<BR>\n<em>[CITY][COUNTRY]</em>",
+ "template_location": "",
+ "fields": [
+ "DATE",
+ "TITLE",
+ "BODY",
+ "SOURCE",
+ "CITY",
+ "COUNTRY"
+ ]
+ },
+ "minzoom": 2,
+ "maxzoom": 7,
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "Stylesheet": [
+ "Labels",
+ "style.mss",
+ "Point_Data",
+ "Country_fill"
+ ],
+ "Layer": [
+ {
+ "geometry": "raster",
+ "name": "Topography",
+ "id": "Topography",
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "class": "",
+ "Datasource": {
+ "file": "/home/dan/Documents/MapBox/data/test_final.tif"
+ }
+ },
+ {
+ "geometry": "polygon",
+ "name": "States",
+ "id": "States",
+ "srs": "",
+ "class": "",
+ "Datasource": {
+ "file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-admin-1-states-provinces-shp.zip",
+ "id": "States",
+ "project": "Chron_Project_2",
+ "srs": null
+ }
+ },
+ {
+ "id": "countries",
+ "name": "countries",
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "geometry": "polygon",
+ "Datasource": {
+ "file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.3.0/cultural/10m-admin-0-countries.zip",
+ "type": "shape",
+ "id": "countries",
+ "project": "Chron_Project_2",
+ "srs": null
+ }
+ },
+ {
+ "geometry": "polygon",
+ "name": "countries2",
+ "id": "countries2",
+ "srs": "",
+ "class": "",
+ "Datasource": {
+ "file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.3.0/cultural/10m-admin-0-countries.zip",
+ "id": "countries2",
+ "project": "Chron_Project_2",
+ "srs": null
+ }
+ },
+ {
+ "geometry": "point",
+ "name": "Cities",
+ "id": "Cities",
+ "srs": "",
+ "class": "",
+ "Datasource": {
+ "file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-populated-places-simple.zip",
+ "id": "Cities",
+ "project": "Chron_Project_2",
+ "srs": null
+ }
+ },
+ {
+ "geometry": "point",
+ "name": "Data_Points11-8",
+ "id": "Data_Points11-8",
+ "srs": "",
+ "class": "",
+ "Datasource": {
+ "file": "/home/dan/Documents/MapBox/data/chron11-8.geojson"
+ }
+ },
+ {
+ "geometry": "polygon",
+ "name": "countries3",
+ "id": "countries3",
+ "srs": "",
+ "class": "",
+ "Datasource": {
+ "file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-admin-0-countries.zip",
+ "id": "countries3",
+ "project": "Chron_Project_2",
+ "srs": null
+ }
+ }
+ ],
+ "description": "",
+ "attribution": "",
+ "legend": "<div align=\"center\">\n\nMouse-over or click white event points<br>\nzoom-in fully to view city labels<br>\n<em>data represent events <br>August 1st through November 4th\n\n</em></div>"
+}
View
9 README.txt
@@ -0,0 +1,9 @@
+***
+MEI Mapping Version Control Structure
+***
+
+From project base - data directory can be preserved or shared (provides map layer and geojson file)
+
+In project directory create symlink to mml w/ correct references - is the mml file going to change?
+
+
View
2  layers/Cities
View
2  layers/Data_Points11-8.geojson
View
2  layers/States
View
2  layers/Topography.tif
View
2  layers/countries
View
2  layers/countries2
View
2  layers/countries3
View
2  style.mss
@@ -5,7 +5,7 @@
line-color: #000;
line-width: 1;
line-join: round;
-/* unsuccessful attempts to remove the ciricle in Kazakhstan called the
+/* unsuccessful attempts to remove the circle in Kazakhstan called the
Baykonur Cosmodrome*/
#countries [NAME_SORT = 'Baykonur Cosmodrome']{
line-width: 0;
Please sign in to comment.
Something went wrong with that request. Please try again.