Suggested citation format:
Ciolek, T. Matthew. 2012. Appendix 4 - The WIKIDOT => MAPS glue: A working specimen of X1 & X2 computer scripts that connect the MBM database records with two online digital mapping systems: The Falling Rain Genomics (http://www.fallingrain.com) and Google Maps (http://maps.google.com). [in:]
Ciolek, T. Matthew and Stewart Gordon. 2012. Mapping the Contours of a Buddhist World: An Online Database of Georeferenced Buddhist Monasteries, 200 -1200 CE.
www.ciolek.com/PAPERS/mbm-mapping-buddhist-world.html
Appendix 4
The WIKIDOT => MAPS glue:
A working specimen of X1 & X2 computer scripts that connect the MBM database records
with two online digital mapping systems: The Falling Rain Genomics (http://www.fallingrain.com)
and Google Maps (http://maps.google.com)
The following programming codes have been developed in 2009 by T. Matthew Ciolek for
the "Mapping Buddhist
Monasteries (MBM) 200-1200 CE Project" (http://monastic-asia.wikidot.com).
Please acknowledge this document
(using the suggested citation format above) should you find the enclosed code useful in your own mapping operations.
Return to the Mapping the Contours of a Buddhist World paper.
The example below shows a general location map (generated with the www.fallingrain.com facilities) for the Nalanda monastery AND a hypertext link to maps.google.com facilities (satellite imagery, admin/road map, terrain map - for maps with seamlessly and dynamically changing scales within the range 1:22 Million and 1:15,000 and larger).
-- start of the example --
General location of the Nalanda monastery, India.
lat=25.35 long=84.4167
Mapping & images: Falling Rain Genomics (http://www.fallingrain.com), 2009.
Google Map link
Approx. loc. of the Nalanda monastery, IN
-- end of the example --
The above display can be generated within a wikidot.com environment via the following WIKIDOT.COM code:
-- start of the WIKIDOT.COM code--
X1 - a connection to the Falling Rain mapping system
[[div style="float:top"]]
[[embed]]
<img height=150 width=150 alt="Location of Nalanda monastery, India."
src=http://maps.fallingrain.com/perl/map.cgi?kind=topo&lat=25.35&long=84.4167&name=Nalanda&scale=9&x=150&y=150>
[[/embed]]
[[size 80%]]General location of the Nalanda monastery, India.
lat=25.35 long=84.4167
Mapping & images: Falling Rain Genomics (http://www.fallingrain.com), 2009.
[[/size]]
[[/div]]
X2 - a connection to the Google Maps mapping system
[[span style="color:red"]]
**Google Map link**[[/span]]
[[size 80%]]
http://maps.google.com/maps?q=25.35+84.4167+
(Approx.%20loc.%20of%20the%20Nalanda%20monastery,%20IN)&ll=25.35,84.4167&spn=05.0,05.0&t=k&hl=en[[/size]]
-- end of the WIKIDOT.COM code --
An identical connection can also be created for the World Wide Web (i.e. non-wiki) environment via the following WWW (HTML) code:
-- start of the HTML code --
X1 - a connection to the Falling Rain mapping system
<img height=150 width=150 alt="Location of Nalanda monastery, India."
src=http://maps.fallingrain.com/perl/map.cgi?kind=topo&lat=25.35&long=84.4167&name=Nalanda&scale=9&x=150&y=150>
<br />
<font size="-1">General location of the Nalanda monastery, India.
<br />
lat=25.35 long=84.4167
<br />
Mapping & images: Falling Rain Genomics (http://www.fallingrain.com), 2009.</font>
<br />
X2 - a connection to the Google Maps mapping system
<b><font color="red">Google Map link</font></b>
<br />
<a href="http://maps.google.com/maps?q=25.35+84.4167+(Approx.%20loc.%20of%20the%20Nalanda%20monastery,%20IN)&ll=25.35,84.4167&spn=05.0,05.0&t=k&hl=en'>
Approx. loc. of the Nalanda monastery, IN</a>
-- end of the HTML code --
http://www.ciolek.com/PAPERS/mbm-mapping-buddhist-world.html
Copyright (c) 2012 by T. Matthew Ciolek. All rights reserved.