JOSM/Plugins/Fuzzer
From OpenStreetMap Wiki
Other languages — Help us translating this wiki
• Afrikaans • አማርኛ • العربية • অসমীয়া • asturianu • azərbaycanca • български • বাংলা • brezhoneg • bosanski • català • corsu • česky • dansk • Deutsch • Zazaki • ދިވެހިބަސް • Ελληνικά • 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ă • سنڌي • සිංහල • slovenčina • slovenščina • Soomaaliga • shqip • српски / srpski • svenska • தமிழ் • తెలుగు • тоҷикӣ • ไทย • Türkçe • українська • اردو • oʻzbekcha • Tiếng Việt • Wolof • isiXhosa • Yorùbá • 中文(简体) • 中文(繁體) • isiZulu
Contents |
obsolete
use scanaerial
Fuzzer
Trace forest or other area edges from different WMS imagery (by Komяpa and Upliner)
Download (Windows)
You will need:
- JOSM: http://josm.openstreetmap.de
- python
2.6(not necessarily 2.6, as Komяpa said): http://www.activestate.com/activepython/
- environment variable PATH should be set to include the python-folder (on windows, it is, usually,
c:\program files\python)
- python-imaging module: http://www.pythonware.com/products/pil/
- python-psyco for faster processing http://sourceforge.net/projects/psyco/files/
- python-pyproj from http://code.google.com/p/pyproj/downloads/list
- fuzzer plug-in for JOSM http://josm-plugins.googlecode.com/files/fuzzer.jar (thanks to Upliner)
- Put it into JOSM plugins folder (for windows,
%AppData%\JOSM\plugins) and enable the plugin in the JOSM settings
- fuzzyselect.py Python script and its dependancies: http://play.latlon.org/josm/fuzzy/ (thanks to Komяpa)
- Create a folder
fuzzerat%AppData%\JOSM\pluginsand save the files there.
- restart JOSM
Installation (debian linux)
- In JOSM install the fuzzer-plugin
- some python libs are needed. Install as root
aptitude install python-pyproj python-psyco python-imaging
- get fuzzyselect.py and its dependancies as user:
cd ~/.josm/plugins/fuzzer git clone git@github.com:jonasstein/fuzzer.git
- restart JOSM
Usage
Press Shift-K, click on the point inside polygon you wish to trace, wait a bit, edit that polygon, upload.
Settings
By default, Fuzzer traces multipolygons from Yahoo! imagery. If you wish to change that, edit fuzzyselect.py.
Best used together with local caching WMS, like TWMS.
Be sure you're not using image/bmp if wms is not local for you. Change it to image/jpeg then, or better install a local WMS.