MAP subcommand (SPATIAL MAPSPEC command)

Each optional MAP subcommand represents a map and layer in the model. The z-order of the maps is determined by the order of the MAP subcommands. The first MAP subcommand represents the map furthest back in map order.

  • If specified, the MAP subcommand must include TYPE, SOURCE, and IDENTIFIER keywords.
  • This subcommand is not required if you are using a dataset in the current session or an IBM® SPSS® Statistics data file that includes fields that contain X and Y coordinates.
TYPE=FILE | SERVICE
Specifies the type of map. FILE indicates that the source is a shape file (.shp). SERVICE indicates that the source is an online map service.
SOURCE='filespec' | 'url'
  • If TYPE=FILE, the SOURCE value must be a shape file (.shp) with a corresponding dBase (.dbf) file in the same directory location. The name of the .dbf file must be the same as the name of the .shp file. The source file can also be a .zip archive. The name of the .shp file, .dbf file, and any other supporting files (.shx, .sbx, .sbn, .prj) must be the same as the name of the .zip archive.
  • If TYPE=SERVICE, the SOURCE value must be an internet address (URL) for the service. The value must be enclosed in quotation marks.
LAYER=number
If the source is a map service, the index number of the layer. The default value is the first layer of the map. You can specify LAYER or LAYERNAME.
LAYERNAME='name'
If the source is a map service, the name of the layer. The name must be enclosed in quotation marks. The default value is the first layer of the map. You can specify LAYER or LAYERNAME.
IDENTIFIER=name
A unique name that identifies the map. The name must conform to variable name rules.
COORDSYSTEM
If there is no projection (.prj) file associated with the map, COORDSYSTEM specifies the coordinate system.
GEOGRAPHIC
The coordinate system is latitude and longitude. This option is the default setting.
WKID (value)
The coordinate system is based on the WKID value. The value is enclosed in parentheses.
PROJECTION (name)
The coordinate system is based on the named projection. The name is enclosed in parentheses. For more information, go to http://help.arcgis.com/en/webapi/javascript/gmaps/help/topics/pcs.html
SPATIALRELATION
The geospatial relationship is used by the model to determine how the events relate to the features in the map.
  • This setting is used only for maps that are used in the SPATIAL ASSOCIATION RULES procedure.
  • This setting only applies to data sources associated with maps where ROLE=CONTEXT is specified on the DATA subcommand.
CLOSE
The event occurs close to a specified point on the map. The CLOSERADIUS keyword determines the area that is "close".
WITHIN
The event occurs within a specified region on the map.
CONTAINS
The event area contains geographic context object.
INTERSECTS
Locations where lines or regions from the different maps intersect each other.
CROSS
Locations where lines (for roads, rivers, railroads) from different lines cross each other.
NORTH, SOUTH, EAST, WEST
The event occurs within an area north, south, east, or west of a specified point on the map. The CLOSERADIUS keyword determines the area.
CLOSERADIUS=value
The radius for what is considered "close" to the features in the map. This setting is used only when the spatial relation value is CLOSE, NORTH, SOUTH, EAST, or WEST.
CLOSEMEASURE=MILE|KILOMETER|METER|CENTIMETER
The measurement unit that is used for the CLOSERADIUS value. The default measurement unit is MILE.
MAXRELATIONS=integer
The maximum number of relationships between the features on the map and the events. The default value is 5.