<?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 Geo Processing Tool to project WGS84 to UTM Zone11N in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/geo-processing-tool-to-project-wgs84-to-utm/m-p/554799#M43361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering if someone could give me a python script that would simply change the lat &amp;amp; long coords, in the attached xlsx, from WGS84 to UTMZone11, meters. I'd like to, then, attempt, to create a geo processing tool to automate the script. The output should be two feature classes in a file geodbase, one the unprojected and the other the projected.&amp;nbsp; I've insured that the range is properly set in the xlsx, as explained in a pdf by T. Wayne Whitley in the&amp;nbsp; previous "finding the centroid between two points" thread, to accomodate the two rows of a single set of coordinates. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2013 00:54:05 GMT</pubDate>
    <dc:creator>KenLucas</dc:creator>
    <dc:date>2013-03-01T00:54:05Z</dc:date>
    <item>
      <title>Geo Processing Tool to project WGS84 to UTM Zone11N</title>
      <link>https://community.esri.com/t5/python-questions/geo-processing-tool-to-project-wgs84-to-utm/m-p/554799#M43361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was wondering if someone could give me a python script that would simply change the lat &amp;amp; long coords, in the attached xlsx, from WGS84 to UTMZone11, meters. I'd like to, then, attempt, to create a geo processing tool to automate the script. The output should be two feature classes in a file geodbase, one the unprojected and the other the projected.&amp;nbsp; I've insured that the range is properly set in the xlsx, as explained in a pdf by T. Wayne Whitley in the&amp;nbsp; previous "finding the centroid between two points" thread, to accomodate the two rows of a single set of coordinates. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ken&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 00:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geo-processing-tool-to-project-wgs84-to-utm/m-p/554799#M43361</guid>
      <dc:creator>KenLucas</dc:creator>
      <dc:date>2013-03-01T00:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Geo Processing Tool to project WGS84 to UTM Zone11N</title>
      <link>https://community.esri.com/t5/python-questions/geo-processing-tool-to-project-wgs84-to-utm/m-p/554800#M43362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's your toolbox zip attached (10.0 ver) - it contains the toolbox with the contained script tool, along with the 'stuff' to make it work.&amp;nbsp; The script is basically all you need to go with the tool, but I sent a few other things.&amp;nbsp; The tool is set 'relative-path' meaning if you unzip to a common location so that the tool and script are 'side-by-side', the tool will be able to 'find' and execute the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to 'cheat' a little in setting up the transform parameter so that you'd have a convenient and familiar drop-down list.&amp;nbsp; I sent a companion PDF only showing some screen shots - the 1st one is what the script tool form would typically look like before launching the geoprocessing...I picked the transform param we already talked about; mind you, this doesn't mean it is the most appropriate one for you and your region.&amp;nbsp; I also included a screen shot of the successful execution dialog (I had it spit back out at you the parameters as you set them before run-time).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't really need the GCS fc since the Event layer tool makes a 'virtual layer' but that's what you said you wanted, so you have gdb copies of them both (a stage.gdb copy of my execution w/ the 2 fcs [geographic and projected] was also included in the zip).&amp;nbsp; It appears you sent coordinates to the edge of pavement of a roadway (or ROW), and it seems with the params used for the projection, there's about a 1.26 meter difference -- you can test further and read further what is to be expected (or what spatial reference adjustments may need to be made).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I included the valuable resource that I used below (thanks to Logan Pugh -- and according to Ghislain Prince, 10.1 may have a ListTransformations function that'll be useful in populating the list of available transform methods [I hard-coded them here]).&amp;nbsp; Logan Pugh provided the 'shortcut' suggestion to use the string param and Value Filter on the transform method part of the tool.&amp;nbsp; More importantly, the info you will likely need for projecting (which is still relevant for 10.1, by the way) is also listed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/29209-Specify-Geographic-Transformation-as-user-input-in-python-script" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/29209-Specify-Geographic-Transformation-as-user-input-in-python-script&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HowTo:&amp;nbsp; Select the correct geographic (datum) transformation when projecting between datums&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://support.esri.com/en/knowledgebase/techarticles/detail/21327" rel="nofollow" target="_blank"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/21327&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, take it for a test drive...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enjoy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 13:59:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geo-processing-tool-to-project-wgs84-to-utm/m-p/554800#M43362</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2013-03-03T13:59:31Z</dc:date>
    </item>
  </channel>
</rss>

