<?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 C API: The specified coordinate point exceeds the valid coordinate range. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432076#M24711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wish the 'C' API didn't have the SE_coordref_set_xy_by_envelope function,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;because it creates more problems than it solves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the coordref x/y offsets and scale that are generated, you're&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;likely to see that the actual integer value generated on the Y member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overflows the 2^31-1 limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best practice for ArcSDE coordinate reference creation calls for generating&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a buffer around your expected data space, to allow for search circles and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;other objects that exceed the data space.&amp;nbsp; I haven't had many occasions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where I haven't used "SE_coordref_set_xy(coordref,-210,-120,1000000)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when working with PE_GCS_WGS_1984 data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=2&amp;amp;f=1720&amp;amp;t=287575&amp;amp;mc=4#894148"&gt;http://forums.esri.com/Thread.asp?c=2&amp;amp;f=1720&amp;amp;t=287575&amp;amp;mc=4#894148&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;for information on the storage impacts of using a scale factor in excess of the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;actual precision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 19:54:46 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2010-04-22T19:54:46Z</dc:date>
    <item>
      <title>C API: The specified coordinate point exceeds the valid coordinate range.</title>
      <link>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432074#M24709</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 using the old C API to access earlier versions of ArcSDE, and I am running into an error I don't understand.&amp;nbsp; I don't know if this is the correct place to post on this topic, but it is the closest sub-forum I can find.&amp;nbsp; If this is the wrong place, please redirect me.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my program, I am creating a new point geometry using SE_shape_generate_point().&amp;nbsp; The coordinate reference is for a WGS 84 lat/lon system, and I used SE_coordref_set_xy_by_envelope() to set the extents as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MinX=-180.000000, MaxX=180.000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MinY=-90.000000, MaxY=90.000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to create a point (180.00, 90.00), SE_shape_generate_point() returns -139 (The specified coordinate point exceeds the valid coordinate range).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before getting this error, I was able to create many points, including another point at the boundary of the valid range (-180.00, 90.00).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know why I am getting this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 13:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432074#M24709</guid>
      <dc:creator>BobCave</dc:creator>
      <dc:date>2010-04-22T13:48:46Z</dc:date>
    </item>
    <item>
      <title>C API: The specified coordinate point exceeds the valid coordinate range.</title>
      <link>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432075#M24710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;We are using the old C API to access earlier versions of ArcSDE, and I am running into an error I don't understand.&amp;nbsp; I don't know if this is the correct place to post on this topic, but it is the closest sub-forum I can find.&amp;nbsp; If this is the wrong place, please redirect me.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;In my program, I am creating a new point geometry using SE_shape_generate_point().&amp;nbsp; The coordinate reference is for a WGS 84 lat/lon system, and I used SE_coordref_set_xy_by_envelope() to set the extents as follows:&lt;BR /&gt;&lt;BR /&gt;MinX=-180.000000, MaxX=180.000000&lt;BR /&gt;MinY=-90.000000, MaxY=90.000000&lt;BR /&gt;&lt;BR /&gt;When I try to create a point (180.00, 90.00), SE_shape_generate_point() returns -139 (The specified coordinate point exceeds the valid coordinate range).&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Before getting this error, I was able to create many points, including another point at the boundary of the valid range (-180.00, 90.00).&lt;BR /&gt;&lt;BR /&gt;Does anyone know why I am getting this error?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Bob&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Internally, the coordinates are being converted to positive integers. It's possible one of the values is rounding to just over 180 or 90 and triggering the error. You should probably nudge the extents out a little, say -181,-91 to 181,91 to allow for cases like this. For all releases post-9.1 with layers that are using high precision, setting the coordref envelope like this is forcing a very small xy resolution (large xyunit) value. With +/-180, the xy resolution is 0.00000000000004 or 25000000000000 (roughly the number of decimal places). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Melita&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 19:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432075#M24710</guid>
      <dc:creator>MelitaKennedy</dc:creator>
      <dc:date>2010-04-22T19:46:07Z</dc:date>
    </item>
    <item>
      <title>C API: The specified coordinate point exceeds the valid coordinate range.</title>
      <link>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432076#M24711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wish the 'C' API didn't have the SE_coordref_set_xy_by_envelope function,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;because it creates more problems than it solves.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the coordref x/y offsets and scale that are generated, you're&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;likely to see that the actual integer value generated on the Y member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overflows the 2^31-1 limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best practice for ArcSDE coordinate reference creation calls for generating&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a buffer around your expected data space, to allow for search circles and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;other objects that exceed the data space.&amp;nbsp; I haven't had many occasions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where I haven't used "SE_coordref_set_xy(coordref,-210,-120,1000000)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when working with PE_GCS_WGS_1984 data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=2&amp;amp;f=1720&amp;amp;t=287575&amp;amp;mc=4#894148"&gt;http://forums.esri.com/Thread.asp?c=2&amp;amp;f=1720&amp;amp;t=287575&amp;amp;mc=4#894148&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;for information on the storage impacts of using a scale factor in excess of the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;actual precision.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 19:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432076#M24711</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-04-22T19:54:46Z</dc:date>
    </item>
    <item>
      <title>C API: The specified coordinate point exceeds the valid coordinate range.</title>
      <link>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432077#M24712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Whenever I have to load add a feature class in an existing feature dataset, instead of dragging the feature inside the feature dataset, what I do is to create an empty feature class in the feature dataset, import the fields for the external feature class and the use load to populate the feature class inside the feature dataset. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like that I do not have all of these error messages.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 12:41:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/c-api-the-specified-coordinate-point-exceeds-the/m-p/432077#M24712</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2010-04-27T12:41:00Z</dc:date>
    </item>
  </channel>
</rss>

