span8
span4
span8
span4
Hi,
One of the things I currently have to work on is checking if points from an Arc shapefile are within their proper postal code.I normally have to check this visually,but a coworker suggested I may be able to do this check in FME but he doesn't use it so could not really give any input as to how to do it.
Basically,there are points that have a postal code assigned to them in their attributes and polygons that outline those postal codes.
Looking at the software I was thinking this would be done with the PointOnAreaOverlayer transformer but I cannot figure out how to tell it to check if,for example,the point with postal code 62025 is inside the 62025 polygon.
Any help with this would be greatly appreciated.
Thank you.
You could also try the geometrycoercer with geometry type set to fme_polygon
Following up the right approach by@itay,if the attribute names are not the same on both datasets,you can rename (or copy) one of the attributes to match the other and then use the Group by option on the PointonAreaOverlayer.
Hi@jaymartinyou are correct about the transformer,I would pay attention to the attributes handling especially when they are identical in both inputs.
After overlaying it's a matter of testing for overlap (_overlap attribute created by default) and if point post code is equal to polygon post code.
Hope this helps
p.s.If you have the same attribute on both features,you could also use a group by in the overlay,that way only points that have the same value in the postcode attribute will be compared with polygons having identical value.
© 2019 亚搏在线Safe Software Inc |Legal