RES: [Mapserver-users] GMT and netCDF

Murilo Lacerda Yoshida murilo.yoshida at agx.com.br
Wed Jun 2 18:27:37 EDT 2004


  I was planning to use the grid tools of GMT to interpolate a map, GMT
has some tools to do it.
  The problem is that I don't know how to translate my shape files into
a valid GMT input. You said you spent a lot of time into it... Can you
help me?
  I need to translate shape files to netCDF files, use these files as
input for GMT, get the result and translate it back to shape files.
  Thanks,
    Murilo
  

-----Mensagem original-----
De: Gerry Creager N5JXS [mailto:gerry.creager at tamu.edu] 
Enviada em: quarta-feira, 2 de junho de 2004 00:46
Para: murilo.yoshida at agx.com.br
Cc: mapserver-users at lists.gis.umn.edu
Assunto: Re: [Mapserver-users] GMT and netCDF

If you think of a NetCDF file as a Fortran-formatted data file, it will 
start making sense. GMT is a good tool for grid data, and works well for

  producing some maps, but it's not designed to do what Mapserver does.

They're not the same thing, they are tools for different purposes.

For what it's worth, I spend a LOT of time with netCDF files, read them,

put the data in postgres db's and then make shapefiles from them.

Gerry

Murilo Lacerda Yoshida wrote:
>   Hi all,
> 
>  
> 
>   Has anyone in the list used the GMT (Generic Mapping Tools)? I
looked 
> at its documentation and it is really a mess. What I understood is
that 
> the input for GMT is a netCDF file, or a ascii table, or a raster
file.
> 
>   I use shape files. I didn't found in the documentation a way to 
> translate the shape file to a netCDF file, or use the shape file as 
> input for GMT.
> 
>   And if I understood the documentation, GMT has what I need, that is 
> that map interpolation issue. But things are never that easy...
> 
>   Help me please,
> 
>     Murilo
> 

-- 
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University	
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843








More information about the mapserver-users mailing list