Gillian,
Your countryman Nick Nicholas had a similar question about 6 years ago (see http://tech.groups.yahoo.com/group/Maptitude/message/3566). I wrote a GISDK macro that should fit the bill, at least for your first question. The macro will create a dBase file with the pairwise distance between each point in a layer; you can set minimum and maximum distance thresholds. The macro is free/open source and available at http://www.directionsmag.com/files/view/distancesrsc/139484. You can modify the macro to solve the second question as well (so that it only returns the one closest point). Or, you can filter the results to yield only the closest point. --- In [email protected], "gillian_in_oz" <gpak99@...> wrote: > > I'm a new returner to Maptitude after a long break and previous experience > with TransCAD. > > I need to identify all point locations that are within, say, 1km of any other > point in the same layer. I can do this using fill and distance to an > attribute in another layer. I can replicate the layer and do the same thing, > but of course I just return the point itself and zero distance, not the next > nearest point. > > What I want to do is return the ID/name whatever of the next nearest point > into one new field and the distance between the two in another new field. > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Maptitude/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/Maptitude/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
