Hi @aaannas ,
I think you can use SpatialFilter to determine if a point is within a building polygon, and NeighborFinder to calculate distance between a point and the closest building.
Regarding the question #2 and #3, unclear where we can get the information on postalcode, street, town/village from, how we can determine if a postalcode is correct. Could you please provide us some more details?
Thank you for your answer - I used spatial filter and Neighbor finder as you recommended, but I was wondering what if the nearest building is not the correct one- have different address than point- that’s why I used featurejoiner before. Postalcode, street, town etc. are in both database and one of them is correct and I need to compare both and indicate the difference, both spatial and text data.
If you need to relate spatially point and building having an identical address, try setting "address" attribute to Group By parameter in the SpatialFilter and the NeighborFinder.
Hi everyone,
I am new FME user and I will be grateful if i could get some tips what transformers should I use for such an analysis I need to do:
I have two addresses’ database (one is reference), both contain addresses (points) and one contains buildings (polygones). i have to compare that dataset:
- if addresses are on the building or not and if not how distance is betwen address and builiding.
- If postalcodes are correct; for example if addresses on street x have all the same postalcode.
- if address is located on correct street and correct town/village.
From your message, can it be concluded that you have an address database in two geometry types: point and polygon.
The point one is the reference and the polygon one is that which needs to be checked.
You would like to check if the points fall within the polygons (buildings) for matching address, if not how far off, the points is from the building (may be center of the building).
When the points fall within the building, you would like to check if the postal codes are correct (will this be checked against the point dataset?)
If the address is located on correct street and correct town/village? (again will the point dataset be used to check this or would like to check this against another dataset?)
Clarify to provide more suggestions.
Cheers
SRG