<?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 Re: Project a geometry to another geometry in memory in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447105#M15074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi&lt;BR /&gt;&lt;BR /&gt;The workaround is to project the geometry in-place with projectAs:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000070000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000070000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks like an excellent workaround for the original poster but I am not sure that it will be able to help me.&amp;nbsp; The reason for that is that the feature class that I want to Project has (at a guess, because I am not onsite today to check) 10,000 or so polygons, and in this instance I cannot use arcpy.da because that client is at ArcGIS 10.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2014 22:44:21 GMT</pubDate>
    <dc:creator>GraemeBrowning</dc:creator>
    <dc:date>2014-03-28T22:44:21Z</dc:date>
    <item>
      <title>Project a geometry to another geometry in memory</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447102#M15071</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;SPAN&gt;Is it possible to project a geometry to another geometry in memory using ARCPY.&amp;nbsp; I am trying to take a XY coordinate and create in memory features to project the coordinate system.&amp;nbsp; I have used the following code to do so, but the project statement doesn't work.&amp;nbsp; I get ERROR 000944: Output feature class cannot be in the in_memory workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import string,sys,os,arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;point = arcpy.Point(x_coord,y_coord)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pnt_geom = arcpy.PointGeometry(point, in_coord_system)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pnt_geom_out = arcpy.Geometry()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mytestlayer = arcpy.Project_management(Pnt_geom, Pnt_geom_out, out_coord_system, "#", in_coord_system)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;desc = arcpy.Describe(mytestlayer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print desc.extent.XMin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print desc.extent.YMin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# EOF&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code works if i put in a shapefile name in the place to the Pnt_geom_out variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My 4 variables (x_coord, y_coord, in_coord_system, out_coord_system) are all valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl Klassen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-email-small" href="mailto:darryl.klassen@gmail.com"&gt;darryl.klassen@gmail.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 22:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447102#M15071</guid>
      <dc:creator>DarrylKlassen</dc:creator>
      <dc:date>2012-02-22T22:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Project a geometry to another geometry in memory</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447103#M15072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, this seems to be a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="http://help.arcgis.com/en%20/arcgisdesktop/10.0/help/index.html#//00vp0000000m000944.htm"&gt;documented software limitation&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt; of in_memory workspaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I say unfortunately because I just hit it too&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 05:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447103#M15072</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2014-03-28T05:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Project a geometry to another geometry in memory</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447104#M15073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround is to project the geometry in-place with projectAs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000070000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000070000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 14:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447104#M15073</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2014-03-28T14:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Project a geometry to another geometry in memory</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447105#M15074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi&lt;BR /&gt;&lt;BR /&gt;The workaround is to project the geometry in-place with projectAs:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000070000000"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000070000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks like an excellent workaround for the original poster but I am not sure that it will be able to help me.&amp;nbsp; The reason for that is that the feature class that I want to Project has (at a guess, because I am not onsite today to check) 10,000 or so polygons, and in this instance I cannot use arcpy.da because that client is at ArcGIS 10.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 22:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/project-a-geometry-to-another-geometry-in-memory/m-p/447105#M15074</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2014-03-28T22:44:21Z</dc:date>
    </item>
  </channel>
</rss>

