Hi David,

I believe I have what your looking for, or at least something that may meet
your needs. I wrote such a GX awhile ago.



Here's how it works so you can determine if it meets your needs.

- You have an existing database containing Lines, 1, 2, 3, 4, 5, etc which I
believe the GX refers to this as the master database
- LINEMERGE.GX places the lines in another database. I believe I refer to
this as the line database.
- The line database will contain one really long line. The long line will
contain Lines 1, 2, 3, 4, ... indexed according to a channel in the master
database. E.g. if you create a date channel in the masterdatabase, you can
use this as the index channel.
-The GX creates a channel called LSEP. This tells you where the lines begin
and end. It's basically just a binary on-off channel. During the line,
LSEP=0. One fid separates the lines and for this one separator fid,
LSEP=1000.
- As the way I designed it, you can only copy up to three channels from the
master database to the line database, but you should be able to modify the
GX to handle more.

 I wrote this GX because I wanted to concatinate all the lines, display the
profile, in order to see how the signal that I was measuring behaved over
the course of the day.

Aaron Balasch

----- Original Message -----
From: "David Humphrey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 9:24 AM
Subject: [gxnet]: Reordering lines in a database


> What is the best way to reorder lines in a database according to line
name.
> Currently, we load data in the order that it was acquired so due to
> interleaving and other things that happen during real life, the lines in
> acquired order are usually not in the logical L10, L20, L30,..., T11, T21,
> ... order in which we want to view them.  Is there some existing
> functionality in Oasis that will do this ordering for me or is it time for
> me to write a GX that does this?
>
> Regards,
> David Humphrey
> Director, Technical Services
> 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