I have a lot of files with different coordinate systems. However, coordinate extractor only works to get a coordinate system of a file. Is there a way to get a list of coordinate system names of multiple files in different formats (shp, tab, kmz..)
Best answer by drc43
I think you can achieve this with a Directory & File Pathnames Reader and a FeatureReader. The Directory Reader can be set up to read in all the files you want to check. And then run that into the FeatureReader setup with Format: Generic (Any Format) and Dataset: path_windows attribute from the Directory Reader. Then run the Generic port into the CoordinateSystemExtractor. Keep in mind you will have to clean up the result, especially for multi-file formats like shapefiles. This method reads in all the files individually (.dbf, .shp, .shx, .prj, etc.) of which only the .prj file will have a coordinate system assigned to it.
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.
Login to the community
No account yet? Create an account
An FME Account is required to contribute
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.


