[Xastir] rtree speeds up shapefiles

Tom Russo russo at bogodyn.org
Thu Feb 3 18:04:45 EST 2005


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.

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