<?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 Manual creation of polygon that crosses dateline in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375379#M9874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having issues manually creating a polygon that crosses the dateline (long=180).&amp;nbsp; My x coordinate goes from 178, 179, 180, -179, -178, etc.&amp;nbsp; Anyway, can anyone give me some guidance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcEngine 10.0 to do so.&amp;nbsp; I know how to create the polygon via code, but it is the dateline issue I am having problems with.&amp;nbsp; Once it crosses to -179, there is a straight line across the screen.&amp;nbsp; I am familiar with the geodesify option (for polylines) and I saw there is one for elipses, but the polygon I am creating is not an elipse.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 20:01:05 GMT</pubDate>
    <dc:creator>TimB</dc:creator>
    <dc:date>2013-08-07T20:01:05Z</dc:date>
    <item>
      <title>Manual creation of polygon that crosses dateline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375379#M9874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having issues manually creating a polygon that crosses the dateline (long=180).&amp;nbsp; My x coordinate goes from 178, 179, 180, -179, -178, etc.&amp;nbsp; Anyway, can anyone give me some guidance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcEngine 10.0 to do so.&amp;nbsp; I know how to create the polygon via code, but it is the dateline issue I am having problems with.&amp;nbsp; Once it crosses to -179, there is a straight line across the screen.&amp;nbsp; I am familiar with the geodesify option (for polylines) and I saw there is one for elipses, but the polygon I am creating is not an elipse.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 20:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375379#M9874</guid>
      <dc:creator>TimB</dc:creator>
      <dc:date>2013-08-07T20:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Manual creation of polygon that crosses dateline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375380#M9875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I take it you are using a geographic coordinate system.&amp;nbsp; Those are problematic since the 180 line is considered the zero X axis.&amp;nbsp; One way to get around the problem is to add a line at 180 and make the polygon a two part polygon with a part on either side of the 180 line.&amp;nbsp; The other solution is to change the coordinate system to something that will handle the 180 line better.&amp;nbsp; In our application our polygons are north of 45 and most near the pole so we switched to a polar stereographic projected coordinate system.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 11:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375380#M9875</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2013-08-08T11:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Manual creation of polygon that crosses dateline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375381#M9876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alexander,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&amp;nbsp; That sounds like the best way (cutting at 180) to do it for us.&amp;nbsp; We are using GCS and also these polygons are global coverages that differ, so there will always need to be a break somewhere, so I don't think using a different projection would work.&amp;nbsp; I do like you break idea, though.&amp;nbsp; In fact, now that I think about it, it think that is what ArcGIS might do when creating a buffer that crosses the dateline.&amp;nbsp; Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 11:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/manual-creation-of-polygon-that-crosses-dateline/m-p/375381#M9876</guid>
      <dc:creator>TimB</dc:creator>
      <dc:date>2013-08-09T11:54:29Z</dc:date>
    </item>
  </channel>
</rss>

