[gradsusr] Crop country boundary

Huddleston, John Huddleston at cira.colostate.edu
Fri Aug 26 11:44:02 EDT 2011


Serge

You can use ogr2ogr from http://www.gdal.org/ogr2ogr.html

ogr2ogr -clipsrc clipping_polygon.shp output.shp input.shp

where clipping_polygon is a shapefile that defines the area you want to keep.

John Huddleston



From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Rafanoharana Serge Claudio
Sent: Friday, August 26, 2011 8:54 AM
To: GrADS Users Forum
Subject: [gradsusr] Crop country boundary

Dear all,

I would like to ask if there is a way to crop the data to a specific area.
In GrADS, if we use 'set mpdset hires', we have the country boundary. However for my case I only need the study area (please refer to the attached file).

I found that http://www.diva-gis.org/datadown provides Grid data. Can we use the data from this Website to crop it or...?

Thank you,

--
Serge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110826/8a7e057b/attachment-0003.html 


More information about the gradsusr mailing list