<?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 Converting GPS coordinate to mobile cache&amp;nbsp; Spatial Ref in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494799#M2031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple form with 2 textboxes in which I am showing GPS locatin in DD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that thing works fine but, when I try to convert that GPS location to mobile cache spatialreference system the GPS is not connecting at all.. and getting time out error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is my working code,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; txtLat.Text = mGpsConn.Latitude.ToString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; txtLong.Text = mGpsConn.Longitude.ToString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the code for converting the GPS coordinate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate coordinate = new Coordinate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;coordinate = mobileCache1.SpatialReference.FromGps(mGpsConn.Longitude,mGpsConn.Latitude);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;txtLat.Text = coordinate.Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;txtLong.Text = coordinate.X&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2012 23:51:59 GMT</pubDate>
    <dc:creator>KetanPatel</dc:creator>
    <dc:date>2012-09-12T23:51:59Z</dc:date>
    <item>
      <title>Converting GPS coordinate to mobile cache  Spatial Ref</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494799#M2031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple form with 2 textboxes in which I am showing GPS locatin in DD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that thing works fine but, when I try to convert that GPS location to mobile cache spatialreference system the GPS is not connecting at all.. and getting time out error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is my working code,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; txtLat.Text = mGpsConn.Latitude.ToString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; txtLong.Text = mGpsConn.Longitude.ToString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the code for converting the GPS coordinate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate coordinate = new Coordinate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;coordinate = mobileCache1.SpatialReference.FromGps(mGpsConn.Longitude,mGpsConn.Latitude);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;txtLat.Text = coordinate.Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;txtLong.Text = coordinate.X&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 23:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494799#M2031</guid>
      <dc:creator>KetanPatel</dc:creator>
      <dc:date>2012-09-12T23:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting GPS coordinate to mobile cache  Spatial Ref</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494800#M2032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try with changing FromGPS to FromWGS84() as following code because by default GPS returns data in WGS84 datum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Coordinate coordinate = new Coordinate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;coordinate = mobileCache1.SpatialReference.FromWgs84(mGpsConn.Longitude,mGpsConn.Latitude);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;txtLat.Text = coordinate.Y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;txtLong.Text = coordinate.X&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Indra Bisen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 13:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494800#M2032</guid>
      <dc:creator>IndraBisen</dc:creator>
      <dc:date>2012-09-13T13:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Converting GPS coordinate to mobile cache  Spatial Ref</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494801#M2033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Indra,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did try that but still same thing.. GPS connection is getting time out error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any alternative to do this thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 22:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/converting-gps-coordinate-to-mobile-cache-nbsp/m-p/494801#M2033</guid>
      <dc:creator>KetanPatel</dc:creator>
      <dc:date>2012-09-13T22:18:15Z</dc:date>
    </item>
  </channel>
</rss>

