Solved
Hello! Is it possible to extract coordinate pairs (lat/lon) that are within an actual shapefile boundary as opposed to using a bounding box of a shapefile? When I use the BoundsExtractor transformer I'm getting more points than warranted. Thanks.
Hello! Is it possible to extract coordinate pairs (lat/lon) that are within an actual shapefile boundary as opposed to using a bounding box of a shapefile? When I use the BoundsExtractor transformer I'm getting more points than warranted. Thanks.
Best answer by rahulsharma
Hello Rahul, the coordinate pairs are in a large SQL database. I just would like to extract the pairs that fall within the extent of the shapefile. The coordinate pairs are not in a shapefile and do not intend to convert them into a shapefile. I hope the clarification helps.
Ok in that case, you can use the following steps
Read SQL Data (assuming its non-spatial)
Convert the Lat\\Long to Point using VertexCreator
Use transformers such as Clipper or SpatialFilter (or others suchas PointOnAreaOverlayer)
Clipper will be best option and just look under Inside port.
Hope this helps
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

