Tim,<div>I think this is a really good idea, and is one of the main benefits of the StreetView data.</div><div><br></div><div>I have been wondering how to do this, but haven't got far.</div><div><br></div><div>I would like to see a plugin for josm that takes a raster input (landsat, yahoo, StreetView) and processes it into 'draft' ways around areas of constant(ish) colour - the user then tidies it up and tags it before uploading (ie I would be very wary of a 'blind' import!).   I think streetview would be the easiest because of the high contrast - I would like to see it work for landsat because I am colourblind and can't trace the outline of woods, and the North Yorkshire moors need some more detail!.</div>
<div><br></div><div>Someone (I think it was Mike DuPont) reported doing this with gdal_contour, but I haven't tried it yet, and I haven't looked at how to turn this into a josm plugin.</div><div><br></div><div>If I'd thought of it earlier I would have suggested this as a GSoC student project!</div>
<div><br></div><div>Regards</div><div><br></div><div>Graham.<br><br><div class="gmail_quote">On 5 April 2010 17:57, TimSC <span dir="ltr"><<a href="mailto:mapping@sheerman-chase.org.uk" target="_blank">mapping@sheerman-chase.org.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi all,<br>
<br>
I was looking at the available OS data and one of the things they have<br>
but is not really in the current OSM database is building shapes.<br>
Individual buildings appear in the Street View data. The VectorMap<br>
District data seems to focus on land use and only has "important"<br>
buildings. The Street View data is much more complete in terms of<br>
individual buildings. I guess the questions we have to address are: "is<br>
this data worth having in OSM?" and "are there any better sources of<br>
building outline?" I think it would be a valuable addition for highly<br>
detailed mapping of urban areas, campuses, etc.<br>
<br>
The other sources of building outlines I know of are the 1st edition OS<br>
sheets (which are rather old), Yahoo imagery (which takes work to<br>
trace), and manual surveying (which is a major hassle since buildings<br>
tend to throw off GPS positions). Another source would be preferable to<br>
these.<br>
<br>
If we do want this data, it seems to be only available as a raster<br>
layer. (Does anyone know if this will be available as a vector layer?)<br>
Converting raster map data to vector data is non trivial but I think it<br>
is achievable. The building colour in the raster map seems to be unique.<br>
The raster maps could be selected by colour, vectorised and simplified<br>
(to remove redundant nodes). Since we have a significant number of<br>
buildings mapped in the UK, we could presume that we don't want to<br>
overwrite or duplicate what is already there. Buildings could be<br>
imported if it would not overlap with an existing building in OSM. One<br>
problem is some buildings are marked as leisure=stadium without a<br>
building=*. We might end up with duplicates of stadiums, leisure<br>
centres, churches and so on. Would we want the import to be more<br>
cautious to prevent this? I won't be importing anything until the<br>
rectification of Street View is complete (and I get a feel for the<br>
consensus on the mailing list) but I have demoed most of the method in<br>
python using the shapely module to do some geometry transforms.<br>
<br>
Any general thoughts on buildings and imports? Will this data be<br>
officially available in vector form at some point?<br>
<br>
We don't seem to have much comment on the legal issues and the<br>
implications of ODbL yet. Do we have a view as to if our attribution is<br>
sufficient?<br>
<br>
Regards,<br>
<br>
TimSC<br>
<br>
<br>
_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">Talk-GB@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-gb" target="_blank">http://lists.openstreetmap.org/listinfo/talk-gb</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dr. Graham Jones<br>Hartlepool, UK<br>email: <a href="mailto:grahamjones139@gmail.com" target="_blank">grahamjones139@gmail.com</a><br>
</div>