Re: [Xastir] slimming down dbf files

2006-10-08 Thread Mike Fenske
Hi Kyle. Not sure if you have split up your NRN shapefile yet, but I have a small perl script that I used here. It uses Tom Russo's "split_shape_by_bbox" program (available from Tom's website) and the resulting files are named as the national topographic series (92G, etc). If you are interested,

Re: [Xastir] slimming down dbf files

2006-10-06 Thread Kyle Kienapfel
It's always hard to get enough information across that I make sense, but not so much that I spend a long time writing a large encyclopedic article. Heres the dbfawk that I used. dbfinfo="NATRDCLASS:RTNUMBER1:RTNUMBER2:RTNUMBER3:RTNUMBER4:RTENAME1EN:RTENAME2E N:EXITNBR:NBRLANES:PAVSTATUS:STRUCTID:

Re: [Xastir] slimming down dbf files

2006-10-06 Thread Tom Russo
On Fri, Oct 06, 2006 at 01:30:38PM -0700, we recorded a bogon-computron collision of the <[EMAIL PROTECTED]> flavor, containing: > I checked and the Geobase.ca NRN uses the ROADSEGID to associate which > shape with what dbf entry. This doesn't quite make sense. Per the shapefile spec there is *

Re: [Xastir] slimming down dbf files

2006-10-06 Thread Kyle Kienapfel
I checked and the Geobase.ca NRN uses the ROADSEGID to associate which shape with what dbf entry. If theres no connection, xastir colors the roads seemingly randomly (due to misassociation of the dbf entries). So I'm down to 46.7mb for BC, but this is even before a dbfawk file is created, so depen

Re: [Xastir] slimming down dbf files

2006-10-05 Thread Curt, WE7U
On Thu, 5 Oct 2006, Jason Winningham wrote: > My (limited) understanding of dbfawks leads me to think we can > eliminate all the fields that are not listed in dbffields, adjust > dbfinfo accordingly, and we'll have a smaller file. I believe that to be correct. -- Curt, WE7U. APRS Client Compar

Re: [Xastir] slimming down dbf files

2006-10-05 Thread Jason Winningham
On Oct 4, 2006, at 2:25 PM, Kyle Kienapfel wrote: I just used a DBF Viewer 2000 from this site to cut a 300mb dbf file down to about 50. I played with this a bit using the shapelib tools on some files (not the TIGER shape files, but can't remember which ones). For the file I was looking

[Xastir] slimming down dbf files

2006-10-04 Thread Kyle Kienapfel
I didn't know that dbf was a standard xBase/dBase file: http://en.wikipedia.org/wiki/XBase I just used a DBF Viewer 2000 from this site to cut a 300mb dbf file down to about 50. The odd thing about this program is it deals with the file directly, I delete a bunch of fields and its down to 11