Joska wrote:
But I am not sure if I understood your problem right.
(prepare for a noob question :o)You get the points in the polygon when you call the routine
now i am wondering in the where u write ' do sth with candidate what could i do to retrieve which points are in which polygon....
what i want is to find the adresses in a building-object and connect it to a measure point at the wall just outside that specific building.
so i was thinking to build first a datatable of all adresses with the info of the buildingID they are part of....
and then add the measurepoints just outside the buildings
so i run the tool twice.... first for adresses IN the buildings and secondly for measurepoints just outside the buildings
so how do i retrieve the information of the adresses in the buildings..?
PointsInPolygon
with a buffervalue of 0. I'd make sure that the shapefile with the address points contains a field for the fid of the polygon that it is contained by, and assign it where applicable.But I am not sure if I understood your problem right.