5

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

  • Do you have access to FME? – CHenderson Jul 25 '12 at 17:51
9

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

  • 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. – Ger 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. – Ger Jul 26 '12 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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