<?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: ArcPad 10 with NMEA GPS: Auto Populating the Attribute Table in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656454#M4714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know I am a little late in the game here, but more information is always good to have for late comers.&amp;nbsp; I just recently saw a post that gave a link to here &lt;A href="http://arcscripts.esri.com/details.asp?dbid=16785" title="http://arcscripts.esri.com/details.asp?dbid=16785"&gt;Add XYZ to Table&lt;/A&gt; .&amp;nbsp; If you read in the summary, it is an applet that you can download and open the code for to get all sorts of data from the GPS.&amp;nbsp; You can chop it up and take what you need.&amp;nbsp; A really good starting point to get the data you may need if you are doing it via Code.&amp;nbsp; Rebecca looks like she has it covered, and Hannah suggested the easier route of QuickFields, but here is just another reference for that info as well as some other for accessing GPS data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 16:33:26 GMT</pubDate>
    <dc:creator>MosquitoGIS</dc:creator>
    <dc:date>2014-12-03T16:33:26Z</dc:date>
    <item>
      <title>ArcPad 10 with NMEA GPS: Auto Populating the Attribute Table</title>
      <link>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656451#M4711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;We are using ArcPad 10 with a NMEA GPS device.&amp;nbsp; We would like to collect features and populate the attribute table using NMEA values with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Northing Easting PDOP Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 18:58:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656451#M4711</guid>
      <dc:creator>ChanceAlford</dc:creator>
      <dc:date>2014-11-03T18:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPad 10 with NMEA GPS: Auto Populating the Attribute Table</title>
      <link>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656452#M4712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chance,&lt;/P&gt;&lt;P&gt;My code is from an older version of ArcPad, and is a custom .vbs script.&amp;nbsp; There are more parts to this script, and it's calling a few other functions, but this may help.&amp;nbsp;&amp;nbsp; Warning, this is NOT complete code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To grab the data, I create the point (objNewPoint), and capture the GPS.X, GPS.Y, GPS.Z and the GPS.Properties("PDOP")&amp;nbsp; (and SOG = speed on ground...we're in an airplane), that is I capture the GPS info.&amp;nbsp; For my purposes, I write them to global variables (e.g. PtZ, PtLat, etc) that I pass on to my other script that writes them to the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Sub CreatePoint(strLayerName)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'create&amp;nbsp; location object at gps location&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Dim objNewPoint,PtZ,PtLat,PtLon,PtX,PtY,PtPDOP,PtSOG&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Set objNewPoint = Application.CreateAppObject("point")&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; objNewPoint.X = GPS.X&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; objNewPoint.Y = GPS.Y&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; objNewPoint.Z = GPS.Z&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'added to get more accurate data in attribute table&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtZ&amp;nbsp;&amp;nbsp; = objNewPoint.Z&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtLat = GPS.Latitude&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtLon = GPS.Longitude&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtX&amp;nbsp;&amp;nbsp; = objNewPoint.X&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtY&amp;nbsp;&amp;nbsp; = objNewPoint.Y&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtPDOP= GPS.Properties("PDOP")&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; PtSOG = GPS.Properties("SOG")&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'add feature to shapefile and bring up data entry menu&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; If strLayerName = "animals" Then&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not Application.Map.AddFeature(objNewPoint) Then&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Error adding GPS Point.",vbExclamation,"Error"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objToolButton.Click&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Else&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'add feature to shapefile, no menu &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Not Application.Map.AddFeature (objNewPoint,"False") Then&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "Error adding GPS Point.",vbExclamation,"Error"&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; End If&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'populate gps and other hidden fields&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Call PopulateCommonfields(strLayerName,PtZ,PtLat,PtLon,PtX,PtY,PtPDOP,PtSOG)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'clear point object&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Set objNewPoint = Nothing&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;End Sub&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Then, I call another script o write to my shape file&amp;nbsp; (removed most of the script....by the objRS lines are the most important).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sub PopulateCommonFields(strLayerName,PtZ,PtLat,PtLon,PtX,PtY,PtPDOP,PtSOG)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'*** use to populate the common fields for&amp;nbsp; shapefile ***'&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Dim objSelLayer, objRS&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Set objSelLayer = Application.Map.SelectionLayer&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Set objRS = objSelLayer.Records&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; objRS.Bookmark = Map.SelectionBookmark&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;'populate common fields&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("Altitude").value = PtZ&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("Latitude").value = PtLat&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("Longitude").value = PtLon&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("Xcoord").value = PtX&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("Ycoord").value = PtY&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("Pdop").value = PtPDOP&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objRS.Fields.Item("PlaneMPH").value = PtSOG&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; objRS.Update&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; Set objRS = Nothing&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;End Sub&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;If you are strictly trying to do this with application builder, I don't have much experience with v8-10....but this may give you a hint on what you need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by the way, my code still runs in 10.x, it was just written in 6.x/7.x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 21:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656452#M4712</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2014-11-04T21:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPad 10 with NMEA GPS: Auto Populating the Attribute Table</title>
      <link>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656453#M4713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked into using &lt;A href="http://resources.arcgis.com/en/help/arcpad/10.2/app/index.html#//00s100000154000000"&gt;QuickFields&lt;/A&gt;? QuickFields allow you to set up values to populate fields in your data automatically - including GPS data. You can build multiple expressions to apply to the one dataset to populate all of the variables you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Building your expressions in the Expression Builder - they should look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pdop.PNG" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/28874_pdop.PNG" style="width: 620px; height: 396px;" /&gt;&lt;/P&gt;&lt;P&gt;See the &lt;A href="http://resources.arcgis.com/en/help/arcpad/10.2/app/index.html#//00s100000154000000"&gt;ArcPad Help&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hannah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 04:43:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656453#M4713</guid>
      <dc:creator>HannahFerrier</dc:creator>
      <dc:date>2014-11-10T04:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcPad 10 with NMEA GPS: Auto Populating the Attribute Table</title>
      <link>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656454#M4714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know I am a little late in the game here, but more information is always good to have for late comers.&amp;nbsp; I just recently saw a post that gave a link to here &lt;A href="http://arcscripts.esri.com/details.asp?dbid=16785" title="http://arcscripts.esri.com/details.asp?dbid=16785"&gt;Add XYZ to Table&lt;/A&gt; .&amp;nbsp; If you read in the summary, it is an applet that you can download and open the code for to get all sorts of data from the GPS.&amp;nbsp; You can chop it up and take what you need.&amp;nbsp; A really good starting point to get the data you may need if you are doing it via Code.&amp;nbsp; Rebecca looks like she has it covered, and Hannah suggested the easier route of QuickFields, but here is just another reference for that info as well as some other for accessing GPS data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 16:33:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/arcpad-10-with-nmea-gps-auto-populating-the/m-p/656454#M4714</guid>
      <dc:creator>MosquitoGIS</dc:creator>
      <dc:date>2014-12-03T16:33:26Z</dc:date>
    </item>
  </channel>
</rss>

