Back in October 2003  I was working on something at the time and wanted to know  the distance from each location  when   Kjartan Stefansson   passed this information on to me

I was only working in one location   but to follow the ideas already suggested    

First get the location for each park and write it down (Lat, Lon)    Maybe a print out from the park dataview

select your residence  table
goto dataview
    modify table
       add a field for each park  and make it a real number.  (depending on how accurate you want  it to be,  the number of decimals)
when done say yes to modifying the table

Open the residence  in a dataview
    scroll over to  'Park 1'    Or what ever you named the first added field
       Click on the Heading for that column to highlight the whole column.
In the top menu select Edit  >  Fill    
       Select Formula and enter the statement below

GetDistance(Coord(-11240478,33248511), Coord(latitude,longitude))       

Notice no Decimal in the Coordinates

Change the   -11240478,33248511  to the Coordinate you wrote down of the first park


Say OK  and it should fill in the column with numbers     Do the same for the rest of the parks

This should give you the distance you require for each.   

Again thanks to
Kjartan Stefansson for passing the information on to me


Chris Wagner

Tom Shoals wrote:
I have two point layers (10 parks; 200 personal
residences). I am trying to find an easy way to
measure the distance from each residence to each park.
Is there an easy way to do this in Maptitude? Would a
script or macro perform this function automatically?
If so, does anyone have an example of such a script
they could share?

Thanks for the help.
Tom


           
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com




Yahoo! Groups Links

Reply via email to