I have a feature class (stored in a file geodatabase) containing information on land use for the Amazon rainforest. It is very detailed and looks like this

enter image description here

I need to convert this shapefile to a raster to combine it with other rasters using the Combine tool (I've encountered too many problems using spatial join with such detailed data). The conversion to raster yields the following image

enter image description here

Any idea why the raster image have horizontal lines on them? The horizontal lines seem to contain information (i.e. they are not null values)

  • maybe more of a workaround than an answer, but what happens if you dissolve before you convert to raster? I notice what look like many small tiles containing the same class; many of the resulting errors seem to originate from those tile boundaries – toms Apr 3 '15 at 22:49
  • Thanks for this suggestion. It makes a lot of sense to use the dissolve tool. Using it reduced the number of polygons from almost 2 million to just 46! – PollPenn Apr 4 '15 at 16:15

I have seen this with detailed vector data. Basically it leaks out. Polygons with duplicate vertices. Or even self intersecting. When I would use a fill or especially a hatch fill it would 'leak' out.
Try running the repair geometry (i assume shape file data type) also as suggested the dissolve and or simplify would be worth looking at the results

  • Thanks! I've tried running the repair geometry tool, but it always fails (or gets stuck). Using the Dissolve tool is a great idea. – PollPenn Apr 4 '15 at 16:16
  • with 2 million rows It would probably take a day or 2 to work through dissolve. – Brad Nesom Apr 6 '15 at 23:06

It might be caused by invalid geometries. Easiest solution is to make a 0.001 meters buffer on your geometries, then run vector to raster again.


Check processing environment, when converting feature to raster. That is the issue

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • 2
    Welcome to GIS SE! As a new user be sure to take the Tour to learn about our focussed Q&A format. – PolyGeo Mar 23 '18 at 5:04

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.