IMAGEWORKSPACE | Examples |
<IMAGEWORKSPACE | Attribute
Description Table |
directory ="string" name ="string" > No Child Elements </IMAGEWORKSPACE > | |
Bold: Attribute or child element is
required. |
Raster Access Method | IMAGEWORKSPACE Location | DATASET Layer Name |
---|---|---|
Specify by name. | Attribute directory points to location of specified raster. | Name of raster including its extension. |
Use all rasters in a directory. Rasters in the same directory automatically tile if they use the same coordinate projection and are drawn when they are within the extent requested. | Attribute directory points to location of the group of rasters. | Use *ImageDirectory for the name: name="*ImageDirectory" |
Use an ArcView GIS image catalog. | Attribute directory points to location of catalog, not rasters. | Name of the image catalog DBF file. For instance, if catalog is named imagecat.dbf, use name="imagecat.dbf". |
Add a GRID. | A GRID has two directories: one for the GRID data and one for the INFO files. Both these directories should be grouped together under a parent directory. The directory attribute points to the parent directory above the INFO and GRID directories. A *.clr file can be included to color the GRID. This file should have the same name as the GRID and be included in the parent directory above the INFO and GRID directories. | Name of directory that contains GRID data; for a GRID named WorldImage, use name="WorldImage". |
Attribute | Usage | Back to Top |
---|---|---|
directory | Directory containing rasters or image catalog. UNC pathnames can be used (\\myComputer\imagedirectory). See Notes section for more information. | |
name | Workspace name. Must be unique among all data sources. |
Example 1: When specifying one raster by name. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="192837" miny="3769109" maxx="197809" maxy="3773771" name="Initial_Extent" /> <MAPUNITS units="meters" /> <FILTERCOORDSYS id="54030" /> <FEATURECOORDSYS id="54030"/> </PROPERTIES> <WORKSPACES> <IMAGEWORKSPACE directory="<path to data>" name="jai_ws-0" /> </WORKSPACES> <LAYER type="image" name="reno.sid" visible="true" id="0"> <DATASET name="reno.sid" type="image" workspace="jai_ws-0" /> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 2: When specifying multiple rasters in a directory. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-2006008" miny="-1240677" maxx="-1993628" maxy="-1256187" name="Initial_Extent" /> <MAPUNITS units="meters" /> <FILTERCOORDSYS id="54030" /> <FEATURECOORDSYS id="54030"/> </PROPERTIES> <WORKSPACES> <IMAGEWORKSPACE directory="<path to data>" name="jai_ws-0" /> </WORKSPACES> <LAYER type="image" name="Sierra" visible="false" id="0"> <DATASET name="*Image" type="image" workspace="jai_ws-0" /> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 3: When specifying an image catalog. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-2006008" miny="-1240677" maxx="-1993628" maxy="-1256187" name="Initial_Extent" /> <MAPUNITS units="meters" /> <FILTERCOORDSYS id="54030" /> <FEATURECOORDSYS id="54030"/> </PROPERTIES> <WORKSPACES> <IMAGEWORKSPACE name="jai_ws-15" directory="<path to image catalog dbf file>"/> </WORKSPACES> <LAYER type="image" name="mammoth.dbf" visible="true" id="0"> <DATASET name="mammoth.dbf" type="image" workspace="jai_ws-15" /> </LAYER> </MAP> </CONFIG> </ARCXML> |
Example 4: When specifying a GRID. | Back to Top |
<?xml version="1.0"
encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG> <ENVIRONMENT> <LOCALE country="US" language="en" variant="" /> <UIFONT color="0,0,0" name="Arial" size="12" style="regular" /> <SCREEN dpi="96" /> </ENVIRONMENT> <MAP> <PROPERTIES> <ENVELOPE minx="-2006008" miny="-1240677" maxx="-1993628" maxy="-1256187" name="Initial_Extent" /> <MAPUNITS units="meters" /> <FILTERCOORDSYS id="54030" /> <FEATURECOORDSYS id="54030"/> </PROPERTIES> <WORKSPACES> <IMAGEWORKSPACE directory="<path to directory above INFO directory>" name="jai_ws-15" /> </WORKSPACES> <LAYER type="image" name="Mt St. Helens" visible="true" id="0"> <DATASET name="helens" type="image" workspace="jai_ws-15" /> </LAYER> </MAP> </CONFIG> </ARCXML> |