home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / infosyst / gis / 4602 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.8 KB

  1. Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!vexcel!copper!slate!cogs1
  2. From: cogs1@slate.mines.colorado.edu (THOEN WILLIAM )
  3. Newsgroups: comp.infosystems.gis
  4. Subject: Re: CIA World Map
  5. Message-ID: <1992Dec30.051113.37065@slate.mines.colorado.edu>
  6. Date: 30 Dec 92 05:11:13 GMT
  7. References: <Pine.3.05.9212291052.A27042-b100000@minerva.cis.yale.edu>
  8. Organization: Colorado School of Mines
  9. Lines: 28
  10.  
  11. jwright@MINERVA.CIS.YALE.EDU (Geoffrey Wright) writes:
  12. : I would like to use one of the CIA World Data Bank II map files that I
  13. : have gotten from an FTP site.  I am not sure if it can be imported into
  14. : other GIS packages or if it can only be used with VPlot.  The file
  15. : appears in the following format:
  16.  
  17. <binary junk deleted>
  18.  
  19. : Does this mean that it is a compressed binary file?  What do I have to do
  20. : to use it??  Thank you for any assistance.
  21.  
  22. Jef, if that is the 15 Mb CIA file, then it is indeed in a binary format
  23. and needs to be converted before it will work with any GIS.  It's a clever
  24. job, too, but if you can't program in C, you're going to be a bit
  25. frustrated.  If you can read C, look at the file 'domap.c' that comes with
  26. it and substitute your own output for the calls to VPLOT.  It took me about
  27. a half day to get something working to translate this file to ASCII
  28. lat/long coordinates, but I fiddled with it a lot longer than that to add
  29. my own graphics.  Even so, I still ended up with a glitch that translated
  30. half of South America into the Atlantic.  The point that pooched it was
  31. right on the equator, but I don't know if it's my software or the data
  32. itself that has a problem with an exact zero. 
  33.  
  34. Good luck (it's a worthwhile file, but the Digital Chart of the World looks
  35. even better... and has it's own Hell of a data format to crack! :-)
  36.  
  37. - Bill Thoen
  38.   cogs1@slate.mines.colorado.edu
  39.