Wow, cool tip! Thanks! :)<br clear="all">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"></span></p><p>--<br></p><p>B.Sc. Daniel Lee<br>
Geschäftsführung für Forschung und Entwicklung<br>ISIS - International Solar Information Solutions GbR<br>Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder<br></p><p>Softwarecenter 3<br>35037 Marburg<br>Festnetz: <a value="+4964213796256" style="color:rgb(28,81,168)">+49 6421 379 6256</a><br>
Mobil: <a value="+4917661277269" style="color:rgb(28,81,168)">+49 176 6127 7269</a><br>E-Mail: <a href="mailto:Lee@isi-solutions.org" style="color:rgb(28,81,168)" target="_blank">Lee@isi-solutions.org</a><br>Web: <a href="http://www.isi-solutions.org/" style="color:rgb(28,81,168)" target="_blank">http://www.isi-solutions.org</a></p>
<p></p><br>
<br><br><div class="gmail_quote">2012/6/8 Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@googlemail.com" target="_blank">markus.metz.giswork@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Fri, Jun 8, 2012 at 2:25 PM, Jaromír Kamler <<a href="mailto:kamler@centrum.cz">kamler@centrum.cz</a>> wrote:<br>
> Hi,<br>
><br>
> I have two vectors imported from SHP. One contains lines (areas), which<br>
> represents sites and in other are texts with cost of sites. I imported them<br>
> to GRASS. Texts with costs of ground are now points with cost in attribute<br>
> table and I turned circuid lines to the areas with centroids.I need copy<br>
> costs from attribute table of costs to the attribute table of sites vector.<br>
> I have no key for connection of this tables. Only one "key" is their<br>
> position, because points with cost attribute are above corresponding areas.<br>
> One point with cost of ground is above one area. How get cost of<br>
> corresponding point to the corresponding attribute of ground? I do not see<br>
> any simple possibility.<br>
<br>
</div></div>If both vectors are available as shapefiles, you could put the two<br>
shapefiles into one directory (with no other shapefiles in it) and<br>
then try something like<br>
<br>
v.in.ogr dsn=/path/to/folder/with/shapefiles/ type=boundary,centroid<br>
<br>
With type=boundary,centroid, lines will be converted to boundaries and<br>
points to centroids. Attributes attached to sites (points) will now be<br>
attached to areas, nothing else to do.<br>
<br>
Markus M<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br>