[Xastir] rtree speeds up shapefiles

Tom Russo russo at bogodyn.org
Thu Feb 3 18:16:03 EST 2005


On Thu, Feb 03, 2005 at 05:11:17PM -0600, we recorded a bogon-computron collision of the <gerry.creager at tamu.edu> flavor, containing:
> How about "Now"?

I dunno.  Is everyone who uses it happy?  Is it a memory pig (that was
my original concern)?  Is the index expiration interval of 1 hour good
enough?  Does it actually compile for every platform?  If everyone who
uses it loves it, and nobody finds it core dumping at random
intervals, then I'm all for changing the default.  But I don't feel I've 
exhaustively checked the questions above.

> Tom Russo wrote:
> >On Thu, Feb 03, 2005 at 05:01:56PM -0600, we recorded a bogon-computron 
> >collision of the <jdw at eng.uah.edu> flavor, containing:
> >
> >>For all you TIGERmap uses who can't get a map today, maybe you're ready 
> >>for some shapefiles. (:
> >>
> >>I just turned on rtree support and it made a huge difference in the 
> >>redraw of my maps.  I'm using several shapefiles from National Atlas 
> >>and NOAA that cover the entire country, but I generally only view a 
> >>small area (zoom level 128 to 512 is where I typically view).
> >>
> >>The first time these maps are drawn it takes the usual amount of time, 
> >>but the redraws are really fast on my G5.  Zoom in, zoom out, pan, 
> >>doesn't matter.
> >
> >
> >Glad to hear it.
> >
> >
> >>If xastir has to render all of a large shape file it isn't going to 
> >>help, but if you usually view a small part of a large shapefile it's 
> >>worth adding --with-rtree to your ./configure command.
> >
> >
> >Yes.  At some point when we get enough feedback like this we can make it
> >the default and remove the "(experimental)" from the configure output.
> >
> 
> -- 
> 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

-- 
Tom Russo    KM5VY     SAR502  DM64ux         http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 
 "When life gives you lemons, find someone with a paper cut."



More information about the Xastir mailing list