<?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 Collecting Data with Editform at predefined points in a shapefile in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/collecting-data-with-editform-at-predefined-points/m-p/617676#M4497</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;SPAN&gt;I have an ArcPad Editform associated with a shapefile. I want to be able to import the GPS locations (points) into my shapefile and go to each pre-defined point and collect data using my Editform. I can't figure out how to do this. Can anyone help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 00:08:46 GMT</pubDate>
    <dc:creator>CharlesHuxtable</dc:creator>
    <dc:date>2011-04-27T00:08:46Z</dc:date>
    <item>
      <title>Collecting Data with Editform at predefined points in a shapefile</title>
      <link>https://community.esri.com/t5/arcpad-questions/collecting-data-with-editform-at-predefined-points/m-p/617676#M4497</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;SPAN&gt;I have an ArcPad Editform associated with a shapefile. I want to be able to import the GPS locations (points) into my shapefile and go to each pre-defined point and collect data using my Editform. I can't figure out how to do this. Can anyone help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 00:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/collecting-data-with-editform-at-predefined-points/m-p/617676#M4497</guid>
      <dc:creator>CharlesHuxtable</dc:creator>
      <dc:date>2011-04-27T00:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting Data with Editform at predefined points in a shapefile</title>
      <link>https://community.esri.com/t5/arcpad-questions/collecting-data-with-editform-at-predefined-points/m-p/617677#M4498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you only have ArcPad or can you utilise ArcGIS aswell? Can you provide any lines of data for us to have a look at?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As always there are many ways to skin a cat:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;My first step would probably convert the file using ArcGIS - Create Featureclass from XY Event Table&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If you only have ArcPad then a script could help you out. You would access the txt file through the CreateAppObject("File") method, and then you would have to read each line into the DBF&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Console.clear&lt;BR /&gt;&lt;BR /&gt;'Create Variables&lt;BR /&gt;dim MyFile, MyLine, MyArray, i, X, Y&lt;BR /&gt;&lt;BR /&gt;'Create File Object&lt;BR /&gt;Set myFile = Application.CreateAppObject("File")&lt;BR /&gt;'Open the Text File&lt;BR /&gt;MyFile.Open "C:\Temp\Goofa.txt"&lt;BR /&gt;&lt;BR /&gt;'Now loop through until you get to the end of the fiel&lt;BR /&gt;While not MyFile.EOF&lt;BR /&gt; 'Set the vaiable of each line&lt;BR /&gt; MyLine = MyFile.ReadLine&lt;BR /&gt; 'Set the Array Up by splitting the line of Text by a comma&lt;BR /&gt; MyArray = Split(MyLine, ",", -1, 1)&lt;BR /&gt;&lt;BR /&gt; 'Now look at each part of the text string to pull out the coordinates&lt;BR /&gt; For i = 0 to UBound(MyArray)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 'Console.print("i: " &amp;amp; i &amp;amp; " == " &amp;amp; MyArray(i))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If i = 11 then&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'These values refer to my data. Use the Console.print to find out which section you need for the coordinates.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X = MyArray(i)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&amp;nbsp;&amp;nbsp; If i = 12 then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y = MyArray(i)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&lt;BR /&gt; Next&lt;BR /&gt;&lt;BR /&gt; 'Create the shapefile Point from the coordinates of each line without showing the EditForm&lt;BR /&gt; Call Map.AddFeatureXY(X, Y, False)&lt;BR /&gt;Wend&lt;BR /&gt;&lt;BR /&gt;MsgBox "Done"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not a complete answer yet but hopefully if you throw some more information at to this then we will get a solid result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gareth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 03:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/collecting-data-with-editform-at-predefined-points/m-p/617677#M4498</guid>
      <dc:creator>GarethWalters</dc:creator>
      <dc:date>2011-05-02T03:20:28Z</dc:date>
    </item>
  </channel>
</rss>

