I have a hacked version of lakewalker.py for osm 0.6
it does forests.
source :
http://www.pastebin.ca/1532240
patch :
http://pastebin.ca/1532241
Parameters :
python ./lakewalker.py --lat 42.4052 --lon 20.4782 --threshold 80 -o forest.osm
I used layer 1 of landsat (green)
"" 2 0.52-0.60 µm Green ""
ref : http://landsat.gsfc.nasa.gov/education/compositor/index.html
you can see the forest here :
osm.org/browse/way/39207413
Discussion
ایہہ 17؍August 2009ء 07:26 تے «h4ck3rm1k3» ٹپݨی کیتی گئی سی۔
ایہہ 17؍August 2009ء 07:35 تے «h4ck3rm1k3» ٹپݨی کیتی گئی سی۔
Original source
http://svn.openstreetmap.org/applications/utils/import/lakewalker/lakewalker.py
ایہہ 17؍August 2009ء 14:13 تے «maning» ٹپݨی کیتی گئی سی۔
Can't get it to work
Traceback (most recent call last):
File "forestwalker.py", line 44, in
import OSMReader
ImportError: No module named OSMReader
ایہہ 17؍August 2009ء 17:18 تے «h4ck3rm1k3» ٹپݨی کیتی گئی سی۔
Sorry, you need the other files here :
http://svn.openstreetmap.org/applications/utils/import/lakewalker/
http://svn.openstreetmap.org/applications/utils/import/lakewalker/OSMReader.py
http://svn.openstreetmap.org/applications/utils/import/lakewalker/OSM.py
ایہہ 17؍August 2009ء 20:02 تے «h4ck3rm1k3» ٹپݨی کیتی گئی سی۔
here is my new hack that will create a grid of all the points in a
ایہہ 17؍August 2009ء 20:16 تے «h4ck3rm1k3» ٹپݨی کیتی گئی سی۔
prizren> i use the diary as my source control
let me walk you through it
first you need these files
http://svn.openstreetmap.org/applications/utils/import/lakewalker/OSMReader.py
http://svn.openstreetmap.org/applications/utils/import/lakewalker/OSM.py
then you need this file
http://www.pastebin.ca/1532240
and then it takes parameters of a osm file
or just a point
and the threshold
python ./lakewalker.py --lat 42.4052 --lon 20.4782 --threshold 80 -o forest.osm
or
python ./lakewalker.py -i somedots.osm --threshold 80 -o forest.osm