Skip to content

Commit

Permalink
eol corrections, added alternate mml for multi-use
Browse files Browse the repository at this point in the history
  • Loading branch information
mcewand committed Nov 17, 2011
1 parent 9f2084d commit 052cc8a
Show file tree
Hide file tree
Showing 10 changed files with 144 additions and 8 deletions.
127 changes: 127 additions & 0 deletions 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>"
}
9 changes: 9 additions & 0 deletions 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?


2 changes: 1 addition & 1 deletion layers/Cities
2 changes: 1 addition & 1 deletion layers/Data_Points11-8.geojson
2 changes: 1 addition & 1 deletion layers/States
2 changes: 1 addition & 1 deletion layers/Topography.tif
2 changes: 1 addition & 1 deletion layers/countries
2 changes: 1 addition & 1 deletion layers/countries2
2 changes: 1 addition & 1 deletion layers/countries3
2 changes: 1 addition & 1 deletion style.mss
Expand Up @@ -5,7 +5,7 @@
line-color: #000; line-color: #000;
line-width: 1; line-width: 1;
line-join: round; 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*/ Baykonur Cosmodrome*/
#countries [NAME_SORT = 'Baykonur Cosmodrome']{ #countries [NAME_SORT = 'Baykonur Cosmodrome']{
line-width: 0; line-width: 0;
Expand Down

0 comments on commit 052cc8a

Please sign in to comment.