jonasstein / scanaerial

Fuzzy Select plugin for JOSM
44 stars 12 forks source link

Can I limit the analysis area script? #6

Closed progserega closed 12 years ago

progserega commented 12 years ago

I try find farmland on this point (in Josm I zoom to this farmland):

http://www.openstreetmap.ru/#zoom=15&lat=44.03682&lon=131.66346&marker=1

But after long time, scanaerial create big multipoligon:

[url=http://imageshack.us/photo/my-images/6/69509962.png/][img]http://img6.imageshack.us/img6/705/69509962.th.png[/img][/url]

Can I limit the analysis area script by zoom in josm or other method?

cat scanaerial.cfg 16:53 pts/7 [WMS] fixedzoomlevel = 13 wmsname = Bing Imagery wms_server_url = http://wms.latlon.org/?layers=bing& projection = EPSG:3857 tile_sizex = 256 tile_sizey = 256

[SCAN] //douglas_peucker_epsilon = 0.60 douglas_peucker_epsilon = 4.20 deactivate_simplifying = 0 //colour_str = 30 colour_str = 30 maxfilter_setting = 3

[NODES]

log: line found; simplified to 2 line found; simplified to 2 .... line found; simplified to 2 line found; simplified to 2 line found; simplified to 2 line found; simplified to 2 line post-found; simplified to 2 Normales walk: -1905.557296, All done in: -324.377296

progserega commented 12 years ago

url to image: http://imageshack.us/photo/my-images/6/69509962.png

jonasstein commented 12 years ago

limiting the area would not help much. The script needs to detect the borders and i dont think that it will be ever possible to detekt grainfields, grassland and the like. I had very good results in scanning the lakes in sibiria (you can find many examples around Anadyr). These lakes have a contour with very high contrast. There are many promising ideas to improve scanaerial, but i have no time in near future to code them.