[Xastir] Rtree
Gerry Creager N5JXS
gerry.creager at tamu.edu
Sun Mar 27 16:24:04 EST 2005
One discussion we've been having on the Mapserver list is that use
large, all-encompassing shapefiles becomes more efficient when you weed
out all the layers you don't need/want, and make, oh, say, 2 or more
shapefiles thereof.
gerry
James Ewen wrote:
>> The very first time a shapefile is drawn in a window that's smaller than
>> the full file extent, every shape in the file is read and its extents
>> saved
>> in the rtree index for that file. Then, any shape that's in the current
>> window is read in and drawn --- that's why the first draw of a file is
>> slower.
>
>
> Sounds almost exactly like what I did by chopping the dataset up into
> smaller bits. Xastir looks at the extent of each file and only uses the
> ones within the viewing window. I could increase efficiency a little
> more by chopping the files into smaller chunks again.
>
> I did spend a couple hours chopping the file up with the program you
> created Tom, but I think it was worth the effort! I'm saving a bit of
> wear and tear in the hard drive too!
>
> James
>
> _______________________________________________
> Xastir mailing list
> Xastir at xastir.org
> https://lists.xastir.org/mailman/listinfo/xastir
--
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843
More information about the Xastir
mailing list