Results 1 to 2 of 2
  1. #1
    Bdowns is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2012
    Posts
    28

    Grouping geographic points along a line based on their distance from one another

    I conduct ecological surveys at sea.

    I have a table of Navigation data with geographic coordinates logged on a one second interval during survey lines

    The table has a field for Timecode (hh:mm:ss); transect ID, and Latitude and longitude. I also have the lat/lon in UTM format (northing and easting in meters) from which I can calculate the distance between points using the distance formula.

    For statistical sampling purposes, the transect lines have to be divided into 100 meter segments. I would like to add a field named [segment] and populate the field with segment_ids so that I can group the records into 100 meter segments. Because the boat changes speeds and stops often, I cannot simply use time to break the transects into segments based on distance.



    Any ideas about how I can populate the segment field to divide each transect into 100 m segments. I would like to populate the field with the name of the transect and sequential #'s (e.g. TranA_1, TranA_2, TranB_1, TranB_2...)

    thanks!
    Last edited by Bdowns; 01-16-2013 at 05:19 PM.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Not sure a query could do this. I am sure a VBA procedure could. Want to provide sample data?
    Last edited by June7; 01-16-2013 at 11:26 PM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculating distance between 2 zip codes
    By crowegreg in forum Programming
    Replies: 7
    Last Post: 06-13-2016, 07:20 PM
  2. Google Distance Matrix API
    By rbiggs in forum Programming
    Replies: 2
    Last Post: 07-11-2011, 06:51 AM
  3. Replies: 5
    Last Post: 06-22-2011, 08:47 PM
  4. Award Customer Points based on sum of Columns
    By JohnBoy in forum Programming
    Replies: 3
    Last Post: 02-20-2010, 02:26 AM
  5. Top 3 times for each distance
    By CraigBFG in forum Queries
    Replies: 0
    Last Post: 06-24-2009, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums