Skip to main content
Question

transformers for spatial analysis


aaannas
Contributor
Forum|alt.badge.img+8

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: 

  1. if addresses are on the building or not and if not how distance is betwen address and builiding.
  2. If postalcodes are correct; for example if addresses on street x have all the same postalcode.
  3. if address is located on correct street and correct town/village.

5 replies

takashi
Influencer
  • May 5, 2025

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?


aaannas
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • May 5, 2025

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.


takashi
Influencer
  • May 5, 2025

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.


hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • May 7, 2025

There is the transformer reference guide that outlines all the transformers available - https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/FME-Transformer-Reference-Guide.pdf

 

Under that there is a section on Spatial Transformers. You can also find them here: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/transformer-category.htm

 


raghavendrans
Enthusiast
Forum|alt.badge.img+14
aaannas wrote:

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: 

  1. if addresses are on the building or not and if not how distance is betwen address and builiding.
  2. If postalcodes are correct; for example if addresses on street x have all the same postalcode.
  3. 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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings