[Xastir] rtree speeds up shapefiles

Gerry Creager N5JXS gerry.creager at tamu.edu
Thu Feb 3 21:09:21 EST 2005


I've not seen any indication it was, necessarily, a problem.  I noted on 
moving to a new area, a memory usage spike, and I was doing that a lot 
recently checking some other stuff, but it wasn't a show-stopper.

One guy's opinion.  And, I've not profiled it, so I have only subjective 
data.

gerry

Tom Russo wrote:
> 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
> 
> 

-- 
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