Scanaerial plugin

Posted by nmixter on 7 September 2012 in English (English)

I tried out the external script for JOSM called Scanaerial. It shows a lot of promise. It is supposed to be able to scan features from aerial imagery and automatically create polygons for them. It hasn't gained a lot of popularity yet because it isn't included in the default extensions to download. It is one of the few plugins to use Ext_tools. Scanaerial replaces fuzzer and can be found at

I originally tried it with Python 2.4 under Windows XP but received a syntax error when running it. Once I upgraded to Python 2.7 with the new libraries it works fine. That version of Python is the newest version that Python Imaging Library is supported on.

You need a imagery layer and a blank data layer. Once you have the plugin installed, you just click on the map where you want it to survey. The script tries to match the area to the color you clicked on. It will even create multipolygons. By default, it is designed to find lakes, but it could be used for other areas also since you can configure the Python script using a text program. The default tags are source:position, source:tracer, source:zoomlevel and natural=water.

There is a lot that can be done with the plugin, but the developer said he currently doesn't have the time to work on it. He did a good job of documenting his progress in the code itself, so it should be easy to pick up where he left off. It would be a great project for someone with Python knowledge to jump into. Ideally it could be integrated into josm and include an editable popup box to input values. Maybe eventually it could replace Spacial Analyst for ArcGis, which scans features like buildings from photos and translates them into building footprint polygons that can be edited.

Comment from Richard on 7 September 2012 at 16:05

Reminds me I should get round to finishing the P2 equivalent...

Comment from baditaflorin on 7 September 2012 at 21:23

I remembered about this, i would find more interesting for roads, anyway i added today over 30 lakes from my country and africa and russia with this. Nice and usefull tool

Login to leave a comment