<?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 How to convert esri Units ? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872414#M5247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have line drawing Map tool using offset method (ex: wgs 1984 World Mercator spatialReference). But when we draw&amp;nbsp;line in GeographicCoordinateSystem offset draws very huge (ex: TUREF &lt;SPAN&gt;spatialReference&lt;/SPAN&gt;). How can we convert esri units for (when is Map in GeographicCoordinateSystem) draw small line ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is ArcObjects code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;IUnitConverter unitConverter = new UnitConverterClass();&lt;/P&gt;&lt;P&gt;private double offsetDistance ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;if (map.SpatialReference is IGeographicCoordinateSystem)&lt;BR /&gt; {&lt;BR /&gt;offsetDistance = unitConverter.ConvertUnits(WriteScalableDistanceTool.OffsetDistance, map.DistanceUnits, map.MapUnits);&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt;offsetDistance = WriteScalableDistanceTool.OffsetDistance;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Feb 2018 13:39:50 GMT</pubDate>
    <dc:creator>tanerkoka</dc:creator>
    <dc:date>2018-02-05T13:39:50Z</dc:date>
    <item>
      <title>How to convert esri Units ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872414#M5247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have line drawing Map tool using offset method (ex: wgs 1984 World Mercator spatialReference). But when we draw&amp;nbsp;line in GeographicCoordinateSystem offset draws very huge (ex: TUREF &lt;SPAN&gt;spatialReference&lt;/SPAN&gt;). How can we convert esri units for (when is Map in GeographicCoordinateSystem) draw small line ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is ArcObjects code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;IUnitConverter unitConverter = new UnitConverterClass();&lt;/P&gt;&lt;P&gt;private double offsetDistance ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;if (map.SpatialReference is IGeographicCoordinateSystem)&lt;BR /&gt; {&lt;BR /&gt;offsetDistance = unitConverter.ConvertUnits(WriteScalableDistanceTool.OffsetDistance, map.DistanceUnits, map.MapUnits);&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt;offsetDistance = WriteScalableDistanceTool.OffsetDistance;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 13:39:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872414#M5247</guid>
      <dc:creator>tanerkoka</dc:creator>
      <dc:date>2018-02-05T13:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert esri Units ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872415#M5248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no 'fixed' conversion between Geographic coordinates (ie in decimal degrees) and planar units (ie meters, feet as from web Mercator projection).&amp;nbsp; You in essence have to 'project' your data to do the conversion and get your units in planar units.&amp;nbsp; So when you use a value of '2' as an offset, that is 2 degrees rather than 2 meters.&amp;nbsp; Work in projected coordinate space if you want to use planar units. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 14:48:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872415#M5248</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-02-05T14:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert esri Units ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872416#M5249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;We are using also&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Geographic coordinates for&amp;nbsp;&lt;SPAN style="color: #212121;"&gt;draw the right and left offensive roads in our vehicles.Are there any formula for convert (How much is 1 meter in decimal degrees?) P&lt;SPAN style="color: #3d3d3d; background-color: #ffffff;"&gt;lanar units to&amp;nbsp;&lt;SPAN&gt;Geographic coordinates ? Or are there any alternative&amp;nbsp;way&amp;nbsp; to solve this problem ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872416#M5249</guid>
      <dc:creator>tanerkoka</dc:creator>
      <dc:date>2018-02-06T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert esri Units ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872417#M5250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no such thing as how much is 1 meter in decimal degrees.&amp;nbsp; That&amp;nbsp; depends where on the surface of earth you are.&amp;nbsp; If can be determined via a 'projection' of the decimal degree data to a planar coordinate system... for instance a UTM projection for your area&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 13:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872417#M5250</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-02-06T13:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert esri Units ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872418#M5251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 16px;"&gt;Thank you for your reply, but I can not understand the sentence you wrote last.Can we solve this problem or can not solve it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff; font-size: 16px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 13:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872418#M5251</guid>
      <dc:creator>tanerkoka</dc:creator>
      <dc:date>2018-02-06T13:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert esri Units ?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872419#M5252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to 'project' your data&amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/project.htm"&gt;http://pro.arcgis.com/en/pro-app/tool-reference/data-management/project.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;every esri application has access to tools to project data... the above is the help topic for ArcGIS Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:05:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-convert-esri-units/m-p/872419#M5252</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-02-06T14:05:05Z</dc:date>
    </item>
  </channel>
</rss>

