Return to Ferret FAQ


Detailed Coastlines and Borders


Questions:

I need better resolution for coastlines on my plots.

I would like to display state and country political boundaries on my plots.

Example:

Hawaii detail Australia with borders
[Hawaii coastlines] [Australia map]


Solution:

(First, try Ferret's land_detail script, which uses data from the GMT (Generic Mapping Tools) site at http://gmt.soest.hawaii.edu (the GMT intermediate level of resolution). A demo of land_detail.jnl is at http://www.ferret.noaa.gov/Ferret/Demos/land_detail/land_detail_demo.html)

The USGS has a Coastline Extractor server: http://www.ngdc.noaa.gov/mgg/shorelines/shorelines.html which makes available for download coastline, boundary, and river segments with a choice of resolutions. Thanks to Patrick Brockmann and Carla Moore for alerting us to this resource!

Proceed as follows:

Example script:

The file hawaii.dat was downloaded from the server using the World Vector Shoreline data, from 18N to 23N and -162 to -152 longitude. The data was edited as described above, and there are 11613 longitude,latitude pairs in it.

Note that the longitudes are returned as East longitude. Here we specify longitude to Ferret as a West longitude, so we need to plot (360+lon)

    !  Overlay detailed map of Hawaii on a vector plot.   

    USE coads
    SET REGION/X=165w:150w/Y=15:25/T="15-FEB-1993"
    VECTOR/title=""/nolabel uwnd,vwnd

    DEFINE AXIS/Z=1:11613:1 vec_len
    DEFINE GRID/Z=vec_len vec_grid
    FILE/VAR=lon,lat/G=vec_grid hawaii.dat
    PLOT/VS/LINE/OVER/COLOR=BLUE/NOLABEL 360+lon,lat

The map of Australia above was made with the WCL data (lowest resolution) and internal boundaries from WDBII.


Last modified: Oct 2 2000 404 Not Found

Not Found

The requested URL "/footer.txt" was not found on this server.