[GRASS-user] link each region to the unique input point it contains in v.voronoi?

Markus Metz markus.metz.giswork at gmail.com
Tue Nov 28 12:40:15 PST 2017


On Tue, Nov 28, 2017 at 3:34 AM, 洪朝貴 <ckhung at cyut.edu.tw> wrote:
>
> Hi All,
>
> There is a one-to-one correspondence between each point
> of the input point set and a region in the output region set
> of the Voronoi diagram. Is there a way (say, adding
> an attribute column?) to create the two way links between
> these two data sets?

There is no need to link the output dataset to the input dataset because
category values and attributes are automatically copied from the input
points to the output areas.

>
> An unrelated minor question: the output of v.voronoi can be displayed,
> but it does not pass the geojson validator:
> https://github.com/mapbox/geojsonhint
> The orientation of the output regions seem to be the opposite
> of the geojson specification. I guess the responsibility
> of ensuring the correct orientation falls more on v.voronoi
> than on v.out.ogr (which outputs the geojson file)?
>
> Thanks!
>
> --
> 『我的野蠻工讀生』用高昂的『下賊船的代價』
> 綁架了我的文件! (請分別搜尋)
> Chao-Kuei Hung 洪朝貴
>
> PGP Key ID: 4096R/5828A7A7
> Fingerprint: 67AF B5AB 5242 3E99 16D7  EAF8 A94D 2C92 5828 A7A7
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171128/17653ece/attachment.html>


More information about the grass-user mailing list