0

I have a series of linear data sets; roads and rivers. I have buffered these to make them integratable with a raster file and then converted from a polyline to a raster.

But I can't get it to add to the raster image, which is a land cover classification. I've tried to mosaic it with the original raster but it doesn't work.

How should I do this?

3
  • 1
    What do you mean by it does not work? Throws an error? You use the Mosaic tool, I suspect you need to read the help file and understand the parameters of the tool. The mosaic operator parameter would be a key parameter to alter.
    – Hornbydd
    Commented Aug 25, 2016 at 11:37
  • It runs the system but then the output image does not show the linear features integrated
    – Joshosh
    Commented Aug 25, 2016 at 11:38
  • What bit depth are each of your raster datasets? What format (tiff, img, etc)?
    – Aaron
    Commented Oct 3, 2016 at 2:48

1 Answer 1

2

Your rasterized polyline has probably been added successfully to the mosaic, but you might not see it because it overlaps with the land cover raster, and mosaicking rules display the land cover raster cells on top. See Understanding the mosaicking rules for a mosaic dataset for more details on how these rules work.

If what you want to do is update the land cover raster with cell values from the rasterized polyline (where available), you should use the Con tool:

OutputRaster = Con(LineRaster, LineRaster, LandCoverRaster)

Don't forget to set the Mask environment property to LandCoverRaster in the tool, otherwise the output will have the extent of LineRaster.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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