[Gvsig_english] Point2Point Comparison
Jorge Gaspar Sanz Salinas
jsanz at prodevelop.es
Wed Dec 2 07:47:58 CET 2009
On 01/12/09 23:01, Simon Cropper (Botanicus Australia Pty Ltd) wrote:
> Hi Guys,
>
> Is anyone aware of a utility where you can compare two point layers and
> get back a table of distances and bearing between each point. I know
> Sextante can have a file look at itself, so it is possible to merge a
> file and run this routine but I find that this creates a cumbersome
> matrix that needs to be disassembled.
>
> A file with the following fields would be desirable ID_FILE1, ID_FILE2,
> DISTANCE and BEARING, with one record representing one comparison.
Simon,
If you have common IDs for the layers, you can do that with a little bit
of work on the field calculator, extrancting coordinates and calculating
the euclidean distance (if it's sensible)
For a more automated way: Sextante development or some scripting.
Nice use case, indeed.
Cheers
Jorge
More information about the Gvsig_internacional
mailing list