home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!SSD0.LAAFB.AF.MIL!PAUSSAVC
- X-Mailer: Network Courier V2.1a
- Encoding: 16 TEXT
- Message-ID: <2B52F0AE@ssd0.laafb.af.mil>
- Newsgroups: bit.listserv.dbase-l
- Date: Tue, 12 Jan 1993 08:24:00 LCL
- Sender: "Discussion on the use of the dBase language and related
- dialects" <DBASE-L@NMSUVM1.BITNET>
- From: PaussaVC@SSD0.LAAFB.AF.MIL
- Subject: Re: spatial data in Clipper
- Lines: 15
-
- >> 10E5 records contain 2D coordinates of point data <p_id; x; y>. The aim
- >> is to retrieve small subset of data contained in a desired recatngular
- >> area.
- >> so the key value for this point < Point 1, 0.43211843, 0.73919484 > is
- >> { 432 739 0.43211843 0.73919484} what means that this point belongs to
- >> the cell (432,739).
- You can get slightly better results by creating a group of conditional
- indexes, one index for each area of the plot you may want to retrieve. (Index
- on function() to indexname) each index containing only those points in a
- specific area. Using the database with the index will have the same effect
- as putting a filter on the database but without the filter's overhead. Also
- since the index file is smaller, searching within it is faster. I'll dig
- around for some sample code. Conditional indexes are tricky buggers to make
- work but can be tres useful.
- Chuck
-