I'd rather not divulge, or perhaps confess is a better word, the exact number of hours I spend at the computer on Open Street Map (OSM) projects but most days it's like a fulltime job. I'll sit down at my desk first thing in the morning, usually at about 6 am, with a cup of coffee beside me to check my email and before I know it I'll be adding some details to OSM or planning a moto ride to check out an area I'm curious about but haven't seen in person. I used to write in this blog more often but I just don't seem to have the time anymore. Ridiculous, I know. Those of you still working know how precious personal time is and you might think a retiree has nothing but time on his hands. But between tennis, a relationship, motorcycling and mapping I manage to keep myself quite busy all day, every day.
A short while ago I got an email from an OSM mapper in Belgium. He asked if he could interview me for a "Mapper in the Spotlight" series started by the OSM Community in Belgium a couple of years ago, the idea being to get to know one another so as to become more of a community. He only knows me from some posts I made on OSM's Tagging listserv, which is a mailing list where participants discuss how to tag (or otherwise characterise) mapped objects for the OSM database. I felt honored and responded right away. Marc sent a list of questions that I answered and which he incorporated into his blog. Answering his questions in my own words constituted the "interview" and I suppose that's the best sort of interview one could hope for, i.e., one you write by yourself about yourself. If you want to read it you can find it here.
Yang na trees lining the busy Chiang Mai-Lamphun Road (Nong Hoi) |
Yang na trees - morning - Nong Hoi |
A healthy, open grown Yang na - Nong Hoi |
I'm planning to enter data for each local Yang na tree into OSM. I will locate them positionally by using a combination of GPS data and spatial observations from the ground. Almost every tree has a tag with a number on it. I'm not sure which Thai government agency maintains these records, or if any do, but I'll enter that number in the ref tag when available. I measured the height of some of the ones closest to my home using an iPhone app called Theodolite which does the same thing as the theodolite instrument used by surveyors, which is to measure angles. It's not nearly as accurate as those precision instruments but is, as we say, "close enough for guv'mnt work" and just the ticket for my needs.
Theodolite (v5.0) screen on iPhone 5 |
I've created a helper tool to make entering this information into OSM easier. JOSM is the most powerful editing program available for working with OSM and it's the one I use. It allows one to develop shortcuts called presets that facilitate entering data speedily, and consistently. Here's the one I'm using for the Yang na trees:
<item name="Tree: Yang na" type="node">
<label text="Tag a Yang na tree node"/>
<space />
<key key="natural" value="tree" />
<key key="leaf_type" value="broadleaved" />
<key key="leaf_cycle" value="evergreen" />
<key key="species" value="Dipterocarpus alatus" />
<key key="species:en" value="Yang na" />
<key key="species:th" value="ยางนา" />
<key key="species:wikidata" value="Q140957" />
<key key="wikipedia" value="en:Dipterocarpus_alatus" />
<space />
<text key="height" text="Height (m)" default="" delete_if_empty="true" />
<text key="circumference" text="Trunk Circ. (m)" default="" delete_if_empty="true" />
<text key="height_trunk" text="Bole Height (m)" default="" delete_if_empty="true" />
<text key="diameter_crown" text="Crown Diam. (m)" default="" delete_if_empty="true" />
<text key="ref" text="Ref #" default="" delete_if_empty="true" />
<space />
<text key="note" text="Note" default="" delete_if_empty="true" />
<space />
<text key="name" text="Name" default="" delete_if_empty="true" />
<text key="name:en" text="Name:en" default="" delete_if_empty="true" />
<text key="name:th" text="Name:th" default="" delete_if_empty="true" />
</item>
Using a preset makes it easy to remember exactly which tags are necessary to fully characterize the trees; it includes the scientific or Latin name, common names in both Thai and English along with the physical measurement data and saves me having to enter each tag manually. I've included tags with links to a Wikipedia article and the Wikidata entry. The code above produces the dialog box at the left (see below). After filling in the physical data and clicking Apply Preset, JOSM's Tags/Memberships Window (on the right) shows the relevant tags which are now ready to be saved and uploaded.
Applying the Yang na preset in JOSM |
That's why I began creating my own map icons that will display on my Garmin GPS and in Garmin's Basecamp program. For me, seeing the POIs I've entered on a map is one major payoff for the work I've done entering the data in the first place. I can also customise the colors and appearance of highways, woods and landuse polygons, and decide which POIs I want to see. I might not be interested in seeing hairdressing shops or veterinary offices visually but I definitely want to know if there is a nearby shop selling motorcycle fuel by the liter if I run low while riding out in the boonies. These small "bike petrol" shops are very common in rural Thailand where motorcycle travel is the norm.
Fuel stations suitable for motorcycles. A "Drummed Fuel" station and a vending-machine fuel station |
In fact, distinguishing a small shop selling fuel hand-pumped out of a large drum from normal full-service fuel stations was one of my main motivations for making my own maps and customizing them for my needs. To the OSM community both are "amenities", places to buy motor fuel. But personally I would not want to drive to a place that's hand pumping fuel by the liter if I need a tank of fuel for an SUV. I designed a unique icon for my GPS that enables me to tell at a glance which type of fuel station it is.
Getting back to trees, I've designed some icons to represent them as well. They need tweaking but they'll do for now. My plan is to use several different sized icons to represent trees that are especially broad or tall. Tests can be made during the map compilation process to determine sizes just as species is determined now. Another favorite tree, common here and appreciated because of the shade its huge leafy crown offers, is the Rain tree. Its scientific name is Albizia saman. Thais call it Ton Chamcha (ฉำฉา). This tree has a shape something like an umbrella and they are literally everywhere. I have a preset similar to the one for Yang na that applies a set of tags specific to this tree. I also have presets for teak (Thai: ton sak) and Bodhi or Buddha trees (Thai: ton pho), both are fairly common and both have special significance in SE Asia.
Chamcha tree |
Garmin Montana Screenshot Chiangmai-Lamphun Road - Nong Hoi |
Our papaya tree |
Stay tuned and thanks for reading.
September 1, 2017: An effort to preserve and protect these wonderful trees is underway. The following short article appeared in Chiang Mai City News today:
Local villagers along the Old Chiang Mai-Lamphun Road are trying to save the century-old yang na trees as they are becoming more and more unhealthy from lack of air and nutrition.
According to Bunchong Somboonchai, head of a tree doctor volunteer group, said that there are about 900 yang na trees along the road and about 340 of them are in critical condition, being strangled by the concrete road, smothered by fumes of heavy traffic and generally living in a bad environment.
On August 30th, locals from A. Saraphi and volunteers gathered at Wat Koo Sua to implement a method invented by Maejo University, with support from Chiang Mai Provincial Office of Natural Resources and Environment. They delivered food and air through perforated PVC pipes filled with fertiliser were used and buried about two metres from the tree’s roots.
Bunchong added that it would take about two years for each tree to recover and to sustainably preserve these historic trees the whole community has to be involved and learn more about how to care for them.
Extras:
I was reading the OSM blog today, Christmas Day, and it contained a note concerning node #1, that is, the OSM object with an id of 1. It turns out that this particular node happens to mark a tree, and in addition that tree happens to grow in Passau, Germany, a town I visited a couple of years ago. It was my debarkation point for a 6-day bicycle trip along the Danube. How's that for coincidence?
The tree is located here: (48.566985, 13.4465242)
Very interesting, Dave! Are your changes uniquely saved on your personal GPS, or can you 'export' them for others to use?
ReplyDeleteNathan, all my data is in the OSM database and is available for anybody to use. The OSM map you see on the Open Street Map homepage does not, for practical reasons, show trees as I've rendered them. It shows them as a tiny green circle. Theoretically, any object at all can be tagged and stored in that database. Many are not shown in as great detail as my maps because the display would be too clogged with icons to be useful. But for me, trees are important, so I choose to render them on my personal maps.
ReplyDeleteRecall my statement about towers, communication towers, for example? These are not shown on that map at all. The reason is that in certain areas where OSM is popular, in Europe especially, almost all existing communication towers have been located and tagged. Displaying (rendering) all those towers would totally block more important things like highways and fuel stations therefore the online OSM maps don't show them at all. Many people don't want to see trees but are interested only in using their GPS for navigation from place to place. Here in Thailand, or in Alaska, where mapped radio towers and OSM mappers are scarce, I can show them without that drawback.
The beautiful thing about OSM is that map designers and other data consumers can use the data in any way they like, for free. No strings attached, in stark contrast to Google of Bing maps. People who want to make bicycle specific maps can do that while folks interested in landcover like forests, trees, shrubs, farms and orchards, can choose to render those objects that are meaningful to them. OSM is really a database, not a map. How one uses the data and what they intend to show is their decision.
I intend to write a followup piece on OSM and map creation and even if you never take the plunge into making your own maps, it will answer these sorts of questions better.
I hope this answers your question satisfactorily and thanks for reading....
I also want to address the question of exporting data. Yes, you can export any or all OSM data but it's raw data, not directly usable as a map. In practice, after an editing session I download the data for my local area, northern Thailand, and then using a combination of customized configuration files and a special program called mkgmap (stands for make Garmin map) combine or compile everything into the map I use in my GPS. Making maps is not for the faint hearted however. If you're truly interested and computer literate it can certainly be done.
DeleteStay tuned.