Osm2mp
From OpenStreetMap Wiki
Other languages
• Afrikaans • አማርኛ • العربية • অসমীয়া • Asturianu • Azərbaycanca • Български • বাংলা • Brezhoneg • Bosanski • Català • Corsu • Česky • Dansk • Deutsch • ދިވެހިބަސް • Ελληνικά • Esperanto • Español • Eesti • Euskara • فارسی • Suomi • Français • Frysk • Gaeilge • Kréyòl gwadloupéyen • Gàidhlig • Galego • Alemannisch • ગુજરાતી • هَوُسَ • עברית • हिन्दी • Hrvatski • Kreyòl ayisyen • Magyar • Հայերեն • Interlingua • Bahasa Indonesia • Igbo • Íslenska • Italiano • 日本語 • Basa Jawa • ქართული • Қазақша • ភាសាខ្មែរ • ಕನ್ನಡ • 한국어 • Kurdî • Lëtzebuergesch • ລາວ • Lietuvių • Latviešu • Malagasy • Македонски • മലയാളം • मराठी • Bahasa Melayu • Malti • မြန်မာဘာသာ • नेपाली • Nederlands • Norsk (nynorsk) • Norsk (bokmål) • Occitan • Oromoo • ଓଡ଼ିଆ • ਪੰਜਾਬੀ • Polski • پښتو • Português • Português do Brasil • Română • Română (Moldova) • سنڌي • සිංහල • Slovenčina • Slovenščina • Soomaaliga • Shqip • Српски / Srpski • Svenska • தமிழ் • తెలుగు • Тоҷикӣ • ไทย • Türkçe • Українська • اردو • O'zbek • Tiếng Việt • Wolof • isiXhosa • Yorùbá • 中文(简体) • 中文(繁體) • isiZulu
Contents |
Osm2mp.pl
Osm2mp.pl is a perl program by Liosha to convert from OSM format to polish format. It supports routing.
See the forum thread at http://forum.openstreetmap.org/viewtopic.php?id=1162 for more information and a download link. The source code: http://code.google.com/p/osm2mp/.
svn co http://osm2mp.googlecode.com/svn/trunk/ osm2mp-read-only
Debian/Ubuntu
You will need the following dependencies:
sudo apt-get install libtemplate-perl libtext-unidecode-perl libyaml-perl
Gentoo
emerge dev-perl/Inline dev-perl/Template-Toolkit dev-perl/Text-Unidecode app-portage/g-cpan
and
g-cpan -i Math::Geometry::Planar::GPC::Polygon Math::Polygon Math::Polygon::Tree
Fedora
yum install perl-Template-Toolkit
FreeBSD
make -C /usr/ports/converters/osm2mp install clean
or
portinstall osm2mp
ArchLinux
Install the following packages (from official repo or build from AUR):
perl-template-toolkit perl-text-unidecode perl-math-polygon perl-math-geometry-planar-gpc-polygon perl-math-polygon-tree perl-list-moreutils perl-data-dump
OpenSUSE
Open terminal app and enter following commands:
su zypper in perl-YAML perl -MCPAN -e "install List::MoreUtils" perl -MCPAN -e "install Text::Unidecode" perl -MCPAN -e "install Data::Dump" perl -MCPAN -e "install Math::Polygon" perl -MCPAN -e "install Inline::MakeMaker" perl -MCPAN -e "install Math::Geometry::Planar::GPC::Polygon" perl -MCPAN -e "install Math::Polygon::Tree" perl -MCPAN -e "install Tree::R"
Configuration
The file poly.cfg contains default sets of RouteParams per highway type. See polish format for information on the RouteParams field.
Osminog
Osminog is an OSM to .MP (Polish format) converter by User:Asdert.