Can you provide a small, self-confined reproducible example?

Cheers,
Roman


On Fri, Sep 7, 2012 at 1:57 PM, Jose Tanago <josetanago@gmail.com> wrote:

> Dear R-geo experts
> I have experienced a weird problem rasterizing polygons with the
> function "rasterize()" of Raster package.
> Polygons that falls within the boundaries of another polygon are not
> rasterized for an unknown reason. The output leave the inner pixels
> (the ones overlaying the ignored polygons) without data
>
> The ignored polygons are completely surrounded by another polygon but
> the outer polygon do not spatially overlay (just enclosed). All the
> polygons were created by segmenting a raster with the same pixel size
> and exactly equal spatial structure. So, the concerned empty pixels
> centers are perfectly covered by the inner polygon (the one ignored),
> while the outer polygon do not cover at all the concerned pixels.
>
> Do you have any idea what is wrong and how to overcome it?
> (I have rasterized the same vector with ARGIS and those polygons
> ignored in rasterize() are well rasterized by the ARCGIS tool)
> thanks in advance for any hint.
> Best
> Jose
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

