Inserting an IDL Shapefile

IDL comes with several shapefiles that you can insert in the iMap tool or in another iTool that has a map projection already applied. These files originated from the ESRI Data and Maps CD-ROM data set (1999, 2000, 2002) and can be found, along with their associated database (.dbx) and index (.shx) files, in the resource/maps/shape directory of the IDL installation. Also see Overview of ESRI Shapefiles (IDL Reference Guide) for more detailed information on shapefiles.

Inserting the Continents

The Insert  Map  Continents operation loads the continents.shp file and displays the continents as a single ShapePolygon (Figure 16-8) in the current dataspace, using the current projection. If no projection is active, then IDL uses geographic coordinates.

Figure 16-8: The Continents Shapefile

map_continentsfpu.jpg

Inserting the Countries (Low Resolution)

The Insert  Map  Countries (low res) operation loads the country.shp file and displays the countries (boundaries as of 2002) as separate ShapePolygons (Figure 16-9) in the current dataspace, using the current projection. If no projection is active, then IDL uses geographic coordinates. The ShapePolygons exist in a Countries (low res) visualization container.

Figure 16-9: The Countries (Low Res) Shapefile

map_countries_low_res.jpg

Inserting the Countries (High Resolution)

The Insert  Map  Countries (high res) operation loads the cntry02.shp file and displays the countries (boundaries as of 2002) as separate ShapePolygons (Figure 16-10) in the current dataspace, using the current projection. If no projection is active, then IDL uses geographic coordinates. The ShapePolygons exist in a Countries (high res) visualization container.

Figure 16-10: The Countries (High Res) Shapefile

map_countries_high_res.jpg

Inserting the Rivers

The Insert  Map  Rivers operation loads the rivers.shp file and displays the rivers as separate ShapePolylines (Figure 16-11) in the current dataspace, using the current projection. If no projection is active, then IDL uses geographic coordinates. The ShapePolylines exist in a Rivers visualization container.

Figure 16-11: The Rivers Shapefile (Continents Added for Context)

map_rivers.jpg

Inserting the Lakes

The Insert  Map  Lakes operation loads the lakes.shp file and displays the lakes as separate ShapePolygons (Figure 16-12) in the current dataspace, using the current projection. If no projection is active, then IDL uses geographic coordinates. The ShapePolygons exist in a Lakes visualization container.

Figure 16-12: The Lakes Shapefile (Continents Added for Context)

map_lakes.jpg

Inserting the United States

The Insert  Map  United States operation loads the states.shp file and displays the states as separate ShapePolygons (Figure 16-13) in the current dataspace, using the current projection. If no projection is active, then IDL uses geographic coordinates. The ShapePolygons exist in a United States visualization container.

Figure 16-13: The United States Shapefile

map_united_states.jpg

Inserting the Canadian Provinces

The Insert  Map  Canadian Provinces operation loads the canadaprovince.shp file and displays the provinces as separate ShapePolygons (Figure 16-14) in the current dataspace, using the current projection. If no projection is active, then IDL uses default longitude-latitude coordinates. The ShapePolygons exist in a Canadian Provinces visualization container.

Figure 16-14: The Canadian Provinces Shapefile

map_canadian_provinces.jpg