# # # PERL osm module by gary68 # # !!! store as osm.pm in folder OSM in lib directory !!! # # This module contains a lot of useful functions for working with osm files and data. it also # includes functions for calculation and output. # # # Copyright (C) 2008, 2009, 2010 Gerhard Schwanz # # This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with this program; if not, see # # # version 2 # - added html table functions # # Version 3 # - added project and angle # - added support for bz2 files # # Version 4 # - add support for relations # - select multiple ways in JOSM link # - getNode2, getWay2: return tags as arrays # # Version 4.1 # - getBugs added # # Version 4.2 # - map compare link added # # Version 4.3 # - regex for k/v changed # # Version 4.4 # -added relation analyzer link # # Version 4.41 (gary68) # - changed regex for openosmfile from /node/ to /