Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have OS street view mapping as raster images. Is it possible (without the obvious of tracing each dwelling) to identify all polygons on each tile.

To clarify,

My ultimate aim is to produce a shapefile layer of polygons for each component....particularly dwellings in order to create a 260m buffer around each which is easy done.

Using QGIS

share|improve this question
    
Do you have access to FME? –  CHenderson Jul 25 '12 at 17:51
add comment

1 Answer 1

up vote 8 down vote accepted

It is possible but the polygons are a little ragged, see the attached picture. Street View images are (single-band) indexed TIFFs. Using the raster value tool told me that the pixel value for buildings was 204 and I used this value in the Raster Calculator to make a new TIFF in which all of the pixels in the image having a value of 204 were converted to ones and all of the pixels in the image having a value not equal to 204 were converted to zeros. The expression to do this is 'filename@1 = 204' (without the quotes).

It was then simply a matter of polygonising the new TIF: Raster -> Conversion -> Polygonize (Raster to vector).

In the picture I've overlaid the original image with just the 'buildings' polygons.

Low-down dirty stuff really.

Nick.

enter image description here

share|improve this answer
    
Ok this looks to be 100% spot on what i need.....but one small issue i have is that where do i get the raster to vector. when i click on raster at the top all that appears in the dropdown is the raster calculator. –  Gerald Jul 26 '12 at 9:54
    
Ok got it. It was the version of QGIS i was using. QGIS 1.7.4 wroclaw and upgraded to QGIS 1.8.0 lisboa. deadly. this open up an unending realm of possibilities. –  Gerald Jul 26 '12 at 15:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.