<?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: Map Coordinates on Map View Tab in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/map-coordinates-on-map-view-tab/m-p/291070#M610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you also setting the coordinate system on the new feature? For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironmentClass();
IGeographicCoordinateSystem geoCoordSystem = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984);
&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
pMyAOI.SpatialReference = (ISpatialReference)geoCoordSystem;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also said you are doing this in a custom tab. How are you then storing the AOI? Are you just using the IJTXJob.AOIExtent property to set the value? If so, you will also need to project your new AOI to the same coordinate system that the AOI feature class is using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:02:23 GMT</pubDate>
    <dc:creator>KevinBedel</dc:creator>
    <dc:date>2021-12-11T14:02:23Z</dc:date>
    <item>
      <title>Map Coordinates on Map View Tab</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/map-coordinates-on-map-view-tab/m-p/291069#M609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a feature class (polygon) in the WMX.JTX_JOBS_AOI table based on user entered bounding box coordinates from a custom tab.&amp;nbsp; The AOI is being displayed in the Map View list and on the map in the AOI tab but the polygon does not appear to be in the right location. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the coordinate system:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironmentClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IGeographicCoordinateSystem geographicCoordinateSystem = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data entered as latitude/longitude Decimal Degrees:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;top: 40.0&amp;nbsp; (representing the northern latitude)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bottom: 30.0&amp;nbsp; (representing the southern latitude)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;left: -100.0&amp;nbsp; (representing the western longitude)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;right: -90.0&amp;nbsp; (representing the eastern longitude)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something specific that needs to be set?&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;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 13:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/map-coordinates-on-map-view-tab/m-p/291069#M609</guid>
      <dc:creator>MikeJohnson2</dc:creator>
      <dc:date>2012-10-18T13:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Map Coordinates on Map View Tab</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/map-coordinates-on-map-view-tab/m-p/291070#M610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you also setting the coordinate system on the new feature? For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironmentClass();
IGeographicCoordinateSystem geoCoordSystem = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984);
&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
pMyAOI.SpatialReference = (ISpatialReference)geoCoordSystem;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also said you are doing this in a custom tab. How are you then storing the AOI? Are you just using the IJTXJob.AOIExtent property to set the value? If so, you will also need to project your new AOI to the same coordinate system that the AOI feature class is using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:02:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/map-coordinates-on-map-view-tab/m-p/291070#M610</guid>
      <dc:creator>KevinBedel</dc:creator>
      <dc:date>2021-12-11T14:02:23Z</dc:date>
    </item>
  </channel>
</rss>

