Kenneth Benoit
>
> Hi -- I am looking for a Stata package to implement simple
> two-dimensional Voronoi diagrams/tessellations (also known
> as Thiessen
> diagrams). I have searched all of the usual archives but
> cannot find
> any. Does anyone know of such a package? or has written the code
> themselves? Any help much appreciated!
I see there is a website devoted to these
constructs, discovered or invented again or
again under different names:
http://www.voronoi.com/
I don't know of anything in Stata. Even given an algorithm
to construct the polygons, drawing the diagram
could be tricky. With -graph- (old or new)
any kind of -connect()- call would have to be
given the vertices of the polygons in precisely
the right order to avoid drawing spurious connections.
But a more pervasive difficulty is that Stata hitherto
has not supported the data structures or the mapping
functionality needed for any serious spatial analysis,
so my guess is that anyone who wanted to do this and
who loved Stata would nevertheless have done it in
some other software. Classes in Stata 8 might help
on data structures but being able to draw maps in
Stata at all easily is not yet in sight, it seems,
not that I am requesting or desiring that.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/