David,

take the 1st. difference of the of the time records and divide it into the
corresponding distances (distance/time = speed).

Nick Gant,
Coordinator, G&M.
Chevron Overseas Pet. Inc.,
San Ramon, CA.
Ph: (925) 842 3691, FAX (925) 824 0062.
e-mail: [EMAIL PROTECTED]


> -----Original Message-----
> From: David Humphrey [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, July 15, 1999 12:42 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      [geonet]: Calculating speed from (x,y,t) points
> 
> I have a database containing (x,y) coordinates and time for each point.  I
> want to calculate speed s at each point according to the formula:
> 
> S2 = (d2-d1)/(t2-t1)
> 
> Where d1 and d2 are the distance along the line for successive points.  I
> see a GX that does the distance calculation, but don't see how to get the
> time difference.  The problem is using values from different records in a
> .gdb.
> 
> I know I can write a GX that does this, but would like to use existing
> Oasis
> montaj machinery, if possible.  Does anyone know a better way?
> 
> Thanks in advance.
> 
> David L. Humphrey
> Manager, Software Development
> Bell Geospace, Inc
> 
> _______________________________________________________
> More mailing list info http://www.geosoft.com/support/listserv/index.html
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html

Reply via email to