< RU:JOSM < Модули
RU:JOSM/Модули/Fuzzer
Эта страница находится в процессе перевода или помечена для этой цели, поэтому может содержать пропуски, ошибки и непереведённые фрагменты.
Исходная статья: JOSM/Plugins/Fuzzer. Вы можете закончить перевод.
Если вы знаете английский, то можете помочь нам, переведя часть оригинальной статьи. Общие сведения о переводе статей на русский язык можно найти здесь.
Исходная статья: JOSM/Plugins/Fuzzer. Вы можете закончить перевод.
Если вы знаете английский, то можете помочь нам, переведя часть оригинальной статьи. Общие сведения о переводе статей на русский язык можно найти здесь.
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
fuzzer
at%AppData%\JOSM\plugins
and 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.
This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.