Rainer,<br><br>I suggest to try the snap parameters of v.in.ogr first. Maybe the SHAPE<br>file is full of gaps and slivers (commonly found, even in governmental data).<br>*Small* snapping values might cure it. Be careful to not snap, say,<br>
Africa to a triangle :)<br><br>Markus<br><br><div class="gmail_quote">On Mon, Jun 23, 2008 at 12:13 PM, Rainer M Krug &lt;<a href="mailto:r.m.krug@gmail.com">r.m.krug@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
I am importing a vector layer from a shape file as follow, and get the<br>
warning below:<br>
<br>
&gt; v.in.ogr &nbsp;dsn=/home/rkrug/Documents/Projects/AlienSpread/data/input/ layer=fireHistory output=fireHistory --overwrite<br>
<br>
<br>
WARNING: 703 areas represent more (overlapping) features, because polygons<br>
 &nbsp; &nbsp; &nbsp; &nbsp; overlap in input layer(s). Such areas are linked to more than 1<br>
 &nbsp; &nbsp; &nbsp; &nbsp; row in attribute table. The number of features for those areas is<br>
 &nbsp; &nbsp; &nbsp; &nbsp; stored as category in layer 2<br>
<br>
<br>
I am aware of that, and I want to create a raster layer with the<br>
number of features overlapping in each location. As I ultimately need<br>
a raster layer, I thought to use the following, but I get the error<br>
message below:<br>
<br>
&gt; v.to.rast &nbsp;input=fireHistory layer=2 output=mf use=attr column=category --overwrite<br>
<br>
ERROR: Unable to get layer info for vector map<br>
<br>
Why is that?<br>
<br>
Is there another way of getting the number of overlapping features per cell?<br>
<br>
Thanks<br>
<br>
Rainer<br>
<br>
<br>
--<br>
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation<br>
Biology, UCT), Dipl. Phys. (Germany)<br>
<br>
Plant Conservation Unit<br>
Department of Botany<br>
University of Cape Town<br>
Rondebosch 7701<br>
South Africa<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Open Source Geospatial Foundation<br><a href="http://www.osgeo.org/">http://www.osgeo.org/</a><br><a href="http://www.grassbook.org/">http://www.grassbook.org/</a>