<?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 Is it possible to get device location without Internet access? If yes, then how ? in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1535868#M9472</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I have a requirement that, I would like to get device location and store it in assignments layer (in some test field) on submitting the assignments. And I need this in offline (without Internet access).&lt;/P&gt;&lt;P&gt;Please note, not the feature location, I need device location when I submit/complete the assignment.&lt;/P&gt;&lt;P&gt;Please let me share some ideas or process , how to get it done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 11:12:53 GMT</pubDate>
    <dc:creator>Ashok</dc:creator>
    <dc:date>2024-09-06T11:12:53Z</dc:date>
    <item>
      <title>Is it possible to get device location without Internet access? If yes, then how ?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1535868#M9472</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I have a requirement that, I would like to get device location and store it in assignments layer (in some test field) on submitting the assignments. And I need this in offline (without Internet access).&lt;/P&gt;&lt;P&gt;Please note, not the feature location, I need device location when I submit/complete the assignment.&lt;/P&gt;&lt;P&gt;Please let me share some ideas or process , how to get it done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 11:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1535868#M9472</guid>
      <dc:creator>Ashok</dc:creator>
      <dc:date>2024-09-06T11:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get device location without Internet access? If yes, then how ?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1536232#M9481</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/548086"&gt;@Ashok&lt;/a&gt;&amp;nbsp;This could be what you are looking for -&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/field-maps/android/use-maps/track.htm" target="_blank"&gt;https://doc.arcgis.com/en/field-maps/android/use-maps/track.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 10:36:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1536232#M9481</guid>
      <dc:creator>Y_Chau</dc:creator>
      <dc:date>2024-09-08T10:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get device location without Internet access? If yes, then how ?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1536546#M9486</link>
      <description>&lt;P&gt;Is it Android or iOS?&amp;nbsp; Most Samsung tablets have a GPS in them so they will work fine.&amp;nbsp; iPads have a dual chip GPS and cell so in order to have GPS chip it must be a cellular tablet.&amp;nbsp; You don't have to enable cell just must have the chip.&amp;nbsp; A WiFi only iPad does NOT have a GPS chip.&amp;nbsp; This could be what you are seeing. Need more info.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 18:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1536546#M9486</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-09-09T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get device location without Internet access? If yes, then how ?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1537233#M9498</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;, Thanks for your reply. I am using iPad WiFi only tab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I was asked to switch on the location when I opened my project in Field Maps app. And I can also see location option in app settings -&amp;gt; Field maps settings.&lt;/P&gt;&lt;P&gt;Please check the below pictures for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Image (2).png" style="width: 278px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114773i1A785800AC868532/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Image (2).png" alt="Image (2).png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Image (1).png" style="width: 278px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114772i8616B982A50CA4FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Image (1).png" alt="Image (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I observed, in offline new tracks records are inserting in Tracks layer of TrackView that we created and configured in Track Viewer portal app.&lt;/P&gt;&lt;P&gt;But here my only concern was, I wanted to get the User/Device location when he submits the assignment or when he opened the assignment to fill the survey form in Field maps app. In online(when Internet is available), I got succeed. In order to achieve that I have added "Last Known Locations" layer (of TrackView) in my Field Map Project. And I am able to get the latest user/device location by using the following Arcade expression, and I am using this expression for one of the Field's Calculate expression and displaying the Result.&lt;/P&gt;&lt;P&gt;//Start&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;function&lt;/SPAN&gt; &lt;SPAN&gt;MetersToLatLon&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt;) {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;long&lt;/SPAN&gt;&lt;SPAN&gt; = (&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;SPAN&gt;20037508.34&lt;/SPAN&gt;&lt;SPAN&gt;) * &lt;/SPAN&gt;&lt;SPAN&gt;180&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;lat&lt;/SPAN&gt;&lt;SPAN&gt; = (&lt;/SPAN&gt;&lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;SPAN&gt;20037508.34&lt;/SP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&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;long&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;serverlayer&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;FeatureSetByName&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$map&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Location Sharing - Last Known Locations"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;loggedinuser&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;GetUser&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$layer&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;username&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;lastediteduser&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;userGeometry&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;null&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;user&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt; &lt;SPAN&gt;serverlayer&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;user&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;last_edited_user&lt;/SPAN&gt;&lt;SPAN&gt; == &lt;/SPAN&gt;&lt;SPAN&gt;loggedinuser&lt;/SPAN&gt;&lt;SPAN&gt;){&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;lastediteduser&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;user&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;last_edited_user&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;userGeometry&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Geometry&lt;/SPAN&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;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;latlon&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;y&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;//End&lt;/P&gt;&lt;P&gt;In order to achieve same thing in offline, map should be offline enabled, so that map can be downloaded in FieldMap app for offline use.&amp;nbsp; But I am getting an error that "The feature layer view is created from a layer that isn't sync-enabled".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114777iD75A10CC395A9B2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I understood that the feature layer&amp;nbsp;"Last Known Locations" Sync option is disabled. This layer is created as &lt;SPAN&gt;Feature Layer (hosted, view) and a&lt;/SPAN&gt;ctually created by system when we create a project from Track Viewer app. And there is no provision to make Sync enable for this layer in Portal item settings and in ArcGIS server settings.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, if I can resolve the above error, I may get succeed in offline map also&lt;/P&gt;&lt;P&gt;Please suggest how to resolve this issue or any other process.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 09:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1537233#M9498</guid>
      <dc:creator>Ashok</dc:creator>
      <dc:date>2024-09-11T09:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get device location without Internet access? If yes, then how ?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1537267#M9500</link>
      <description>&lt;P&gt;Yes the iPad will try and guess your location from WiFi and often it was use the last location it had - but it for sure has no GPS chip.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 12:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/is-it-possible-to-get-device-location-without/m-p/1537267#M9500</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-09-11T12:54:57Z</dc:date>
    </item>
  </channel>
</rss>

