Wow, cool tip! Thanks! :)

--

B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions GbR
Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder

Softwarecenter 3
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: [email protected]
Web: http://www.isi-solutions.org




2012/6/8 Markus Metz <[email protected]>

> On Fri, Jun 8, 2012 at 2:25 PM, Jaromír Kamler <[email protected]> wrote:
> > Hi,
> >
> > I have two vectors imported from SHP. One contains lines (areas), which
> > represents sites and in other are texts with cost of sites. I imported
> them
> > to GRASS. Texts with costs of ground are now points with cost in
> attribute
> > table and I turned circuid lines to the areas with centroids.I need copy
> > costs from attribute table of costs to the attribute table of sites
> vector.
> > I have no key for connection of this tables. Only one "key" is their
> > position, because points with cost attribute are above corresponding
> areas.
> > One point with cost of ground is above one area. How get cost of
> > corresponding point to the corresponding attribute of ground? I do not
> see
> > any simple possibility.
>
> If both vectors are available as shapefiles, you could put the two
> shapefiles into one directory (with no other shapefiles in it) and
> then try something like
>
> v.in.ogr dsn=/path/to/folder/with/shapefiles/ type=boundary,centroid
>
> With type=boundary,centroid, lines will be converted to boundaries and
> points to centroids. Attributes attached to sites (points) will now be
> attached to areas, nothing else to do.
>
> Markus M
> _______________________________________________
> grass-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to