GIS

Batch Convert Projections of Vector Features via ArcGIS Model Builder

Lestro 2019. 8. 28. 13:08

Successful Example

 

Failed Example

At first, I tried to write a python script within the Arcpy, But, I failed. That is because the project_management which can convert projections have many parameters. Although I followed the help pages from ArcGIS, I faced an error message below.


>>> arcpy.Project_management("37608030","D:/37608030_UTMK.shp",arcpy.SpatialReference("PCS_ITRF2000_TM"),arcpy.env.geographicTransformations("ITRF_2000_To_WGS_1984"))

Runtime error 
Traceback (most recent call last):
  File "", line 1, in 
  File "c:\program files\arcgis\desktop10.1\arcpy\arcpy\arcobjects\mixins.py", line 926, in __init__
    self._arc_object.createFromFile(item)
RuntimeError: ERROR 999999: Error executing function.

 

 

 

References

1. https://www.exprodat.com/blogs/batch-geoprocessing-with-arcpy-4/

 

Batch Geoprocessing with ArcPy - Exprodat

When you want to run the same geoprocessing tool on many feature classes, one option is to right click the tool and select the batch option, but it can be tedious to add all your datasets to the list – the entry columns have to be widened to check that the

www.exprodat.com

2. http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/project.htm

 

Project—Help | ArcGIS for Desktop

 

desktop.arcgis.com

3. https://gis.stackexchange.com/questions/147526/how-to-autofill-output-column-in-arcmap-batch-process-menu

 

How to autofill output column in arcmap batch process menu?

Referring to the screenshot, I'd like to know how to fill the output column with unique values that either have the same name as the input files or otherwise have some unique value in each cell. If I

gis.stackexchange.com