source: subversion/applications/utils/distance_maps/data2node.awk

Last change on this file was 16638, checked in by mungewell, 11 years ago

New tools for walking all highways and computing distance to each node

File size: 238 bytes
Line 
1BEGIN {
2        print "<?xml version='1.0' encoding='UTF-8'?>"
3        print "<osm version='0.5' generator='mkcntr'>"
4}
5
6{
7        print "<node id='-"NR"' lat='"$2"' lon='"$1"'>"
8        print "<tag k='ele' v='"$3"' />"
9        print "</node>"
10}
11
12END {
13        print "</osm>"
14}
15       
Note: See TracBrowser for help on using the repository browser.