[Xastir] split_gnis script
Jack Twilley
jmt at twilley.org
Thu Mar 18 22:31:41 EST 2004
WARNING: Unsanitized content follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Curt" == Curt Mills <archer at eskimo.com> writes:
Jack> I accept your challenge. If either of you folks could send me
Jack> links to some input files and output files, I'll port the
Jack> script.
I have finished the script, and it looks good to me. It has been
added to the repository -- please play with it and let me know how it
goes. The only significant difference between my script and the bash
script is that I use _ in place of space in file names -- names like
WI_St._Claire.gnis look better to me visually.
Curt> Input file is a state GNIS file which you can download from the
Curt> site mentioned in the INSTALL or the README.MAPS file.
Curt> Output is the same, only with the extra spaces chopped off the
Curt> end of the lines, CRLF changed to LF, and split into multiple
Curt> smaller files instead of one huge state file. It's all just
Curt> text.
The WI_deci file is 12822732 characters in length. The sum total of
the county files is 4444905 characters -- hard to believe that
two-thirds of the file is wasted space! The number of lines in the
WI_deci file is the same as the sum of county files, so no lines were
lost.
Jack.
- --
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD4DBQFAWmmiGPFSfAB/ezgRAqH8AJ9ADIOgdXzNy9n9qhS/rk4of0GgegCWLZCD
dbLXX32Jg6pvgGfEr69D/g==
=Gimq
-----END PGP SIGNATURE-----
More information about the Xastir
mailing list