[Xastir] ESRI shapefiles

Tom Russo russo at bogodyn.org
Mon Dec 13 23:42:45 EST 2004


On Mon, Dec 13, 2004 at 09:24:16PM -0700, we recorded a bogon-computron collision of the <jewen at shaw.ca> flavor, containing:
>
> One thing that I'd like to do for Xastir is pull the data apart into various
> layers. Right now, I get every road in Alberta drawn when zoomed out. I'd
> like to pull only major highways into a map, the next map would have
> secondary roads, and the close in layer would have all the local roads.

If you have a properly set up "dbfawk" file for your  shapefiles, you can
get this effect by choosing "enable map levels" from the map menu.

AFAIK the only way to pick apart a shapefile the way you like would be to
use a GIS that can select data based on fields in the dbf file, or write
a simple program using shapelib that can do what you want.  I don't know of
any simple utilities that can do it generically.

-- 
Tom Russo    KM5VY     SAR502  DM64ux         http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://www.qsl.net/~km5vy/
 "That which does not kill me is better than that which does."
    --Irving Nietzche, lesser known of the famous Nietzche twins



More information about the Xastir mailing list