Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a shapefile of the worlds biomes

I would like to export it as a raster file; preferably a netCDF file with the MsTMIP format standard.

Ultimately, I could work with a netCDF that keeps metadata from the shapefile, or even a csv with no metadata. I can generate the .csv myself, but I expect that existing tools will do much of the work for me. Do they exist?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Use ogr2ogr to convert it to GMT vector format, and then convert it using GMT to netCDF with all metadata saved.

share|improve this answer
1  
Thanks - I'll let you know how it goes; I am glad to see that GMT5 is released under LGPL, since it is compatible with my BSD license. –  Abe Oct 26 '12 at 20:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.