[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20021217: Gempak - creating cgm files for use in Canvas



>From: "Joe Grim" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200212172101.gBHL1HW23677

>Institution: University of Illinois - Department of Atmospheric Sciences
>Description: Hi,
>I was wondering if it is possible to create .cgm files in gempak which are of 
> a format useable in Canvas.  I have tried using the nc file format, but am un
> able to get it into a format that is recognized by Canvas (I have been able t
> o view them using NTRANS, but that doesn't do me any good, except to know it'
> s there.)  The reason I need the cgm format is so that I can be able to impor
> t the vector images into Canvas for manipulation, which is a lot easier than 
> tracing over a .ps or .gif file!
>If you can help me in this way, that would be great!
>Thanks!
>Joe Grim
>
>
>


Joe,

The nc driver produces a file header used by Ntrans for identifying the
frames and groups, and allows for rectangular (as opposed to square only 
for standard cgm) plots. You could probably take off the Ntrans header and 
use just the CGM drawing commands as long as you specified a square output.
 
The vc driver (vanilla cgm) was moved to the inactive directory back in 1997
(along with the hp hpgl plotter driver and vt term) due to limitations of the 
standards and obsolete equipment. 

The vg driver was created to provide a georeferenced vector output which
can be used within NMAP2 for drawing, editing, etc.

Steve Chiswell