Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: exact command for distance ?


From   Austin Nichols <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: exact command for distance ?
Date   Fri, 11 Sep 2009 11:52:25 -0400

Laura--
Just in case you thought I was being flip, let me assure you--I mean
it--the distance to the nearest centroid (of bodies of water) is not a
variable you can use for anything useful. However, if you have a file
of polygons for bodies of water rather than a file of centroids, the
method I outlined still works, finding then the distance to the
nearest vertex, which is a good approximation of the distance to
nearest water, and gets better as your polygon file gets more
detailed.

On Fri, Sep 11, 2009 at 9:28 AM, Austin Nichols <austinnichols@gmail.com> wrote:
>
> But are you using the centroids of the bodies of water? That seems
> like a strange measure of the distance to water!
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index