<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic arcpy.Project_management ERROR in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-project-management-error/m-p/289199#M22419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we are trying to run the following Python script. It is almost the same as "Beispiel 1" in this help: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/de/arcgisdesktop/10.0/help/index.html#//00170000007m000000"&gt;http://help.arcgis.com/de/arcgisdesktop/10.0/help/index.html#//00170000007m000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only differences are our input and output folders and the different coordinate system of our input file (WGS 1984). Also the output coordinate system is different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is our script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;input_features = "C:/Users/weikl/Documents/ArcGIS/base_data.gdb/startsMUC"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;output_features_class = "C:/Users/weikl/Documents/ArcGIS/Car2go/wells_UTM11N.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;install_dir = arcpy.GetInstallInfo()['InstallDir']&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;out_coordinate_system = os.path.join(install_dir, r"Coordinate Systems/Projected Coordinate Systems/World/WGS 1984 Web Mercator.prj") &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Project_management(input_features, output_features_class, out_coordinate_system)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 5, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 7786, in Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 000622: Failed to execute (Project). Parameters are not valid. ERROR 000628: Cannot set input into parameter out_coor_system. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have an idea what is going wrong??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 08:49:54 GMT</pubDate>
    <dc:creator>SimoneWeikl</dc:creator>
    <dc:date>2013-08-23T08:49:54Z</dc:date>
    <item>
      <title>arcpy.Project_management ERROR</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-project-management-error/m-p/289199#M22419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we are trying to run the following Python script. It is almost the same as "Beispiel 1" in this help: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/de/arcgisdesktop/10.0/help/index.html#//00170000007m000000"&gt;http://help.arcgis.com/de/arcgisdesktop/10.0/help/index.html#//00170000007m000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only differences are our input and output folders and the different coordinate system of our input file (WGS 1984). Also the output coordinate system is different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is our script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;input_features = "C:/Users/weikl/Documents/ArcGIS/base_data.gdb/startsMUC"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;output_features_class = "C:/Users/weikl/Documents/ArcGIS/Car2go/wells_UTM11N.shp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;install_dir = arcpy.GetInstallInfo()['InstallDir']&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;out_coordinate_system = os.path.join(install_dir, r"Coordinate Systems/Projected Coordinate Systems/World/WGS 1984 Web Mercator.prj") &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Project_management(input_features, output_features_class, out_coordinate_system)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Runtime error&amp;nbsp; Traceback (most recent call last):&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 5, in &amp;lt;module&amp;gt;&amp;nbsp;&amp;nbsp; File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\management.py", line 7786, in Project&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e ExecuteError: ERROR 000622: Failed to execute (Project). Parameters are not valid. ERROR 000628: Cannot set input into parameter out_coor_system. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have an idea what is going wrong??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 08:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-project-management-error/m-p/289199#M22419</guid>
      <dc:creator>SimoneWeikl</dc:creator>
      <dc:date>2013-08-23T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Project_management ERROR</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-project-management-error/m-p/289200#M22420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might try removing the "r" from in front of the coordinate system file path in the output_coordinate_system variable.&amp;nbsp; You can also use arcpy.AddMessage(output_coordinate_system) to verify the file path is correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 09:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-project-management-error/m-p/289200#M22420</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2013-08-23T09:45:02Z</dc:date>
    </item>
  </channel>
</rss>

