This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I have a .yxdb file that includes a large number of polygons each with a name and a projection field. I want to create a separate Shapefile output for each polygon. That's the easy part. I need to set the UTM Zone projection for each polygon in the output file. I am having trouble figuring out a solution to setting the output file projection based on the required projection. Each polygon will require a different projection that is defined in the field. Is there a way to set the projection based on a field showing the projection? I'm open to alternatives to having the projection in a field as well. Thanks!
I think the best way to accomplish this would be through using a batch macro and using a control parameter to update the projection for the shapefile. Here's the documentation for batch macros to help you design your own: https://help.alteryx.com/2018.2/BatchMacro.htm
Attached is an example macro I put together with some sample data.