<?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:  Spatial reference extent limitations ? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145025#M11297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your instruction Melita. Yes, what I want is exactly the valid area of &amp;nbsp;a coordinate system, so i know now it's&amp;nbsp;called 'project horizon' (but a GCS also have a limit boundary by longtitude and latitude for -180 to 180 and -90 to 90 degree ). &amp;nbsp;It's a pity that arcpy can't retrieve this value. Can i insert ArcObject codes in arcpy to get it?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2018 01:49:50 GMT</pubDate>
    <dc:creator>TieshengWu</dc:creator>
    <dc:date>2018-07-18T01:49:50Z</dc:date>
    <item>
      <title>Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145013#M11285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to get features spatial reference limitations of coordinate x and y &amp;nbsp;by using snippet like:&lt;/P&gt;&lt;P&gt;sr = arcpy.Describe('my feature').spatialReference&lt;/P&gt;&lt;P&gt;dom=sr.domain.split()&lt;BR /&gt;xmin=float(dom[0])&lt;BR /&gt;ymin=float(dom[1])&lt;BR /&gt;xmax=float(dom[2])&lt;BR /&gt;ymax=float(dom[3])&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;But it seems don't &amp;nbsp;work. For &amp;nbsp;a WGS84 GCS, the result is xmin=-180, xmax=180, ymin=-90 but ymax=270 rather than 90, and more strange result for a &amp;nbsp;WGS84 PCS. Does sr.domain is not proper for my needs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 01:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145013#M11285</guid>
      <dc:creator>TieshengWu</dc:creator>
      <dc:date>2018-07-17T01:40:59Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145014#M11286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interestingly... if you run the code snippet for a gcs wgs84 from&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/classes/spatialreference.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/classes/spatialreference.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;SpatialReference—ArcPy classes | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You get some strange results.&lt;/P&gt;&lt;P&gt;Perhaps &lt;A href="https://community.esri.com/migrated-users/3120" target="_blank"&gt;Melita Kennedy&lt;/A&gt;‌ can offer some insight&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;wkt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; "GEOGCS&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'GCS_WGS_1984'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;DATUM&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'D_WGS_1984'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;SPHEROID
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'WGS_1984'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;6378137.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;298.257223563&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRIMEM&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Greenwich'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;UNIT&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Degree'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0.0174532925199433&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VERTCS&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'WGS_1984'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;DATUM&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'D_WGS_1984'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;SPHEROID
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'WGS_1984'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;6378137.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;298.257223563&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PARAMETER&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Vertical_Shift'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;PARAMETER&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Direction'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;UNIT
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Meter'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;400&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;400&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1000000000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100000&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100000&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;8.98315284119522E-09&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="number token"&gt;0.001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0.001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;IsHighPrecision"

sr &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; sr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;loadFromString&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;wkt&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

r&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;domain

&lt;SPAN class="string token"&gt;'-400 -400 9006799.25474099 9006799.25474099'&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145014#M11286</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T07:56:01Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145015#M11287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your objective?&amp;nbsp; Are you most concerned with the actual Spatial Reference of your data or are you concerned with extent of your data?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the latter, consider the snippet of code below that returns the XMin/Max YMin/Max of a given feature class (fc):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'YourFeatureClass'&lt;/SPAN&gt;
descFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Describe&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
fc_xmin &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; descFC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;XMin
fc_ymin &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; descFC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;YMin
fc_xmax &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; descFC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;XMax
fc_ymax &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; descFC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;extent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;YMax

&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Extents of {}, {}, {}, {}, {}'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fc&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;fc_xmin&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;fc_ymin&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;fc_xmax&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;fc_ymax&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:56:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145015#M11287</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-12-11T07:56:04Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145016#M11288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your responding Joe. My concern is &amp;nbsp;the largest extent limit of any coordinate system, GCS or PCS. The problem arise from a practical problem, that is, when a polygon feature is create using ArcPy, the limit extent of the coordinate system may be exceeded and &amp;nbsp;making &amp;nbsp;the feature invalid. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 15:05:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145016#M11288</guid>
      <dc:creator>TieshengWu</dc:creator>
      <dc:date>2018-07-17T15:05:54Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145017#M11289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am dealing with a similar issue with respect to extents.&amp;nbsp; (See:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/thread/217779"&gt;Spatial Extents&lt;/A&gt;&amp;nbsp;).&amp;nbsp; When I append source data to a (emtpy) target the the extents are sometimes&amp;nbsp; well out of bounds my area of interest.&amp;nbsp; Allegedly, the process of appending re-calculates the extent, and I've had that happen.&amp;nbsp; But, I still get feature classes that have an extent of USA and the Philippines when all the data should reside in one county, in one state of the US.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define an empty feature class with a given spatial reference, it is given the extents of 0,0,0,0.&amp;nbsp; Once you add features to the feature class, the extent is &lt;EM&gt;supposed&lt;/EM&gt; to be that of the features themselves...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 15:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145017#M11289</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-07-17T15:20:05Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145018#M11290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it's helpful. But in my situation, the spatial reference of the feature is unknown in advance, so I must have a method to get the limit extent and using that in my code to avoid the out of extent error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 15:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145018#M11290</guid>
      <dc:creator>TieshengWu</dc:creator>
      <dc:date>2018-07-17T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145019#M11291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you find it let me know! I would like to restrict my extents as well, and the only thing I can come up with is clip it once it has data in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 16:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145019#M11291</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-07-17T16:03:03Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145020#M11292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You set the extents to a featureclass not the actual projection itself since a projection doesn't have the extent property as you have found out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 17:29:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145020#M11292</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-17T17:29:34Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145021#M11293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan-&amp;nbsp; how&amp;nbsp;do I set the extents using arcpy?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in my other thread that you responded to:&amp;nbsp; We take data from the authoratative source and append to a 'public' enterprise geodatabse.&amp;nbsp; The source data can be wonky with respect to extents.&amp;nbsp; I'd love to control the append in such a way that just those features within a given xmin,&amp;nbsp; ymin,&amp;nbsp; xmax, ymax extent are appended...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 18:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145021#M11293</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-07-17T18:39:14Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145022#M11294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set extents explicitly, but I don't rely on reading a coordinate system at all (prj etc) or even a featureclass, unless I have to. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I simply know the bounds of where I am working, set it accordingly and check the geometry (a big point in polygon def) to ensure all is where it should be.&lt;/P&gt;&lt;P&gt;But!&amp;nbsp; you people are using that enterprise and sde thing.... my only suggestion is to create a big Area of Interest file (AOI) and simply do a select by attribute to see if your features intersect, (or whatever) with your AOI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 18:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145022#M11294</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-17T18:48:33Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145023#M11295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I've come up with: I created a polygon based on the extent of the county.&amp;nbsp; It's the automation part that fails: the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/recalculate-feature-class-extent.htm"&gt;RecalculateFeatureClassExtend_management()&lt;/A&gt; method only takes one argument and that's the feature class itself.&amp;nbsp; If it were to take 5 (name, xmin,ymin,xmax,ymax) I'd be golden!&lt;/P&gt;&lt;PRE class="" style="color: #4d4d4d; background-color: #fefefe; font-size: 0.75em; margin-bottom: 1.5em;"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 19:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145023#M11295</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-07-17T19:07:46Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145024#M11296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's pulling the spatial reference xy domain which is square. The lower left / minimum values are good, but the max values may be blown out to either make the extent square or to make the xy resolution value a reasonable number.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The -400 is to cover data that could be in -360 to 0 longitude range, with a very generous buffer added. We just used the same value for the minimum Y (latitude) value too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;400&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;400&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;1000000000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;100000&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;10000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit; font-size: 14px;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;100000&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;10000&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;8.98315284119522E-09&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;0.001&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit; font-size: 14px;"&gt;0.001&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit; font-size: 14px;"&gt;;&lt;/SPAN&gt;IsHighPrecision"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;These values are (in order):&lt;/P&gt;&lt;P&gt;minimum X, minimum Y, inverse of xy resolution;&lt;/P&gt;&lt;P&gt;minimum Z, inverse of Z resolution;&lt;/P&gt;&lt;P&gt;minimum M, inverse of M resolution;&lt;/P&gt;&lt;P&gt;XY tolerance;&lt;/P&gt;&lt;P&gt;Z tolerance;&lt;/P&gt;&lt;P&gt;M tolerance&lt;/P&gt;&lt;P&gt;True that the spatial reference is high precision versus the original "basic" precision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tolerance values are actually not good if the data is using a geographic coordinate system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wu Teshieng, you probably want the coordinate system's "projected horizon" but I don't think that's exposed in arcpy. Here's some of the methods in ArcObjects:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#iprojectedcoordinatesystem4_getpcshorizon.htm" title="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#iprojectedcoordinatesystem4_getpcshorizon.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#iprojectedcoordinatesystem4_getpcshorizon.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PCS horizon but in latitude/longitude. It is not guaranteed to be an inclusive horizon (it might be exclusive to show which part of the world can't be 'seen' in the particular PCS).&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#iprojectedcoordinatesystem2_gethorizon.htm" title="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#iprojectedcoordinatesystem2_gethorizon.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#iprojectedcoordinatesystem2_gethorizon.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145024#M11296</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2021-12-11T07:56:07Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145025#M11297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your instruction Melita. Yes, what I want is exactly the valid area of &amp;nbsp;a coordinate system, so i know now it's&amp;nbsp;called 'project horizon' (but a GCS also have a limit boundary by longtitude and latitude for -180 to 180 and -90 to 90 degree ). &amp;nbsp;It's a pity that arcpy can't retrieve this value. Can i insert ArcObject codes in arcpy to get it?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 01:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145025#M11297</guid>
      <dc:creator>TieshengWu</dc:creator>
      <dc:date>2018-07-18T01:49:50Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145026#M11298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Melita Kennedy schreef:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; It's pulling the spatial reference xy domain which is square. The lower left / minimum values are good, &lt;STRONG&gt;but the max values may be blown out to either make the extent square or to make the xy resolution value a reasonable number&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3120"&gt;Melita Kennedy&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could these specific traits of the "domain" properties of a Spatial Reference be better documented on the &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/classes/spatialreference.htm"&gt;Help page of the Spatial Reference&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I was running into a similar issue, where calling:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;spatialRefDomain = spatialRef.domain&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;arcpy.AddMessage("spatialRefDomain: " + spatialRefDomain)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to inspect the extent's values, resulted in rather un-expected &lt;EM&gt;&lt;STRONG&gt;max&lt;/STRONG&gt;&lt;/EM&gt; values (&lt;STRONG&gt;spatialRefDomain: -20037700 -30241100 900699887774,099 900689684374,099)&lt;/STRONG&gt;, as I didn't realize these were related to the XY resolution of the dataset. The first impression of the "domains" is that they represent something like the "projection horizon" you mentioned, but your explanation makes clear they are something entirely different. I think the difference must be cleared up in the &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/classes/spatialreference.htm"&gt;Help page of the Spatial Reference&lt;/A&gt; as well by adding extra documentation. The current page is rather minimal in explanations (although it is comprehensive in mentioning all properties). It probably could use some graphics as well to give some visual impression of these properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jun 2019 13:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145026#M11298</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2019-06-30T13:50:36Z</dc:date>
    </item>
    <item>
      <title>Re:  Spatial reference extent limitations ?</title>
      <link>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145027#M11299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, adding the "Note" text mentioned on the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/recalculate-feature-class-extent.htm" title="http://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/recalculate-feature-class-extent.htm"&gt;Recalculate Feature Class Extent—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help page that&lt;A href="https://community.esri.com/migrated-users/252836"&gt;Joe Borgione&lt;/A&gt;‌ pointed out and that mentions the difference between domains and extents, to the Spatial Reference Help page, would already be a big win.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Jun 2019 14:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-reference-extent-limitations/m-p/145027#M11299</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2019-06-30T14:03:21Z</dc:date>
    </item>
  </channel>
</rss>

