Download data from the OSM api using a bounding box (
geom). The result is stored in an .osm file which the place and the name are defined in the
path. If the
delete parameter is equal to one (true), then the .osm file will be overwritten if it already exists.
Download OSM data:
Read OSM file:
Note that the OSMRead function is described HERE.
On the left a screenshot from the OpenStreetMap website and on the right the result, with the building reconstruction (see OSMRead).