if you don't mind using the DK then the following
psuedo-code should be pretty straight-forward to implement...the result will be
a comma seperated text file with 1 line of points for each area...if you have a
lot of points and areas the number of iterations will increase real fast...so
this may not be real efficient for large datasets but it is simple if the
numbers are reasonable.
for i = 1 to number of areas
string1 = area_name + ","
area = GetArea(id(i))
for j = 1 to number of points
pt =
GetPoint(id(j))
rslt =
CoordInArea(pt,area)
if rslt =
True then
string1 = string1 + pt_identifier + ","
endif
end j
WriteLine(output_file, string1)
end i
Sample output file would be something
like:
Area1, Walmart, Meyers, RiteAid
Area2, Costco, Walmart
Area3, Costco, Meyers, RiteAid
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chandler Coleman
Sent: Monday, May 22, 2006 6:50 PM
To: [email protected]
Subject: Re: [Maptitude] Select by Location
This doesn't work either, because that point might
exist in several polygons.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
SPONSORED LINKS
| Geographic information systems | Geography game | Geography |
YAHOO! GROUPS LINKS
- Visit your group "Maptitude" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
