lkproof.blogg.se

Idl map
Idl map









idl map

It is recommended that you only use the HIRES keyword for relatively small regions of the globe. Note: Creating a high-resolution map of a large area is a resource-intensive (slow) process. This keyword applies only to the CONTINENTS and USA keywords. Set this keyword to 1 to use high-resolution boundary data. This keyword is ignored if Filename is used. Set this keyword to draw the country outlines. Note: Use the HIRES property in conjunction with the CONTINENTS keyword to draw high-resolution continental outlines. This is the default behavior for MAPCONTINENTS if no other keywords (like /CANADA, /USA, etc.) are passed in, and is provided only for completeness. Set this keyword to draw continental outlines. See the example above for the use of COMBINE=0. This is slower to draw, but allows each individual outline to be retrieved and modified. Set this property to 0 to create each outline as a separate object. COMBINEīy default all of the outlines are combined into a single polygon (COMBINE=1). Set this keyword to draw the outlines of the Canadian provinces. Keywords are applied only during the initial creation of the graphic. If this argument is present, then the file will be read and graphics objects will be created for the contained shapes. ArgumentsĪn optional argument giving the name of a shapefile. Use the returned reference to manipulate the graphic after creation by changing properties or calling methods. The MAPCONTINENTS function returns a reference to the MapContinents object. Properties can be set as keywords to the function during creation, or retrieved or changed using the "." notation after creation.ĪNTIALIAS, CLIP, COLOR, FILL_BACKGROUND, FILL_COLOR, HIDE, LINESTYLE, NAME, THICK, TRANSPARENCY, UVALUE, WINDOW Methods See Map examples for additional examples using the MAPCONTINENTS function. cstates = MAP FOREACH c,cstates DO c.FILL_COLOR= "goldenrod" MAP.FILL_COLOR = "goldenrod" Additional Examples m1 = MAPCONTINENTS() m2 = MAPCONTINENTS(/USA, COMBINE = 0, $ FILL_COLOR = "MOCCASIN") m3 = MAPCONTINENTS(/CANADA, COMBINE = 0, $ FILL_COLOR = "MOCCASIN") m4 = MAPCONTINENTS(/LAKES, FILL_COLOR= "light blue") Retrieve some states and change their color. Set up the map projection map = MAP( 'Orthographic', $ LIMIT =, $ CENTER_LATITUDE = 48, $ CENTER_LONGITUDE = - 122, $ FILL_COLOR = "light blue") Change some grid properties grid = map.MAPGRID grid.LINESTYLE = "dotted" grid.LABEL_POSITION = 0 grid.FONT_SIZE = 14 Insert some map boundaries. The following lines create the map shown at the top of this topic.

idl map

By default the function draws the continental outlines. The MAPCONTINENTS function overlays map boundaries on a map in a graphics window.











Idl map