The scales that will be available for this cache, provided as a semicolon-delimited string such as "24000 12000 6000 3000". This directory must already be registered with ArcGIS Server. The ArcGIS Server cache directory to use for this service. The name of the service for which you want to define a cache. If your site is configured with web-tier authentication, you'll need to specify the local URL to your site. The URL of the site, in one of the following formats:
CREATE SITE GRID ARCGIS 10.3 PASSWORD
The password of the user who was specified with the -u parameter. If your site is configured with web-tier authentication, specify a built-in user, such as the primary site administrator account. The user must have the appropriate level of privileges to execute the action. Grid_dataset_name = "_Grids".format(map_sheet_name)Īrcpy.The name of an ArcGIS Server user who will execute the utility. # Create a database and feature dataset for output grid features using the GCS # Determine the GCS of AOI feature class's spatial reference
# the area of interest and the grid feature dataset must use the same datum. # The primary and ancillary coordinate system in the grid template, # name of the map sheet over which the grids will be created # field name to query to identify a single map sheet # Grid area of interest (aoi) feature class # Description: Creates a dataset in a file geodatabase and creates grid features # Name: MakeGridsAndGraticulesLayer_sample1.py
The default values for the following parameters are automatically derived from the grid template XML and can be modified before execution: The default for this check box is unchecked, which will not change your map frame properties. When this setting is enabled, a value must be specified for the map frame. The map frame's coordinate system, scale, rotation, size, and extent can be altered to match the XML grid specification. The primary coordinate system must be a projected coordinate system.Īncillary coordinate systems can be either a projected coordinate system or a geographic coordinate system.Ĭhecking the Configure layout and map frame with grid settings check box ensures that the map frame in the layout is adjusted to best fit the created grid. Ancillary coordinate systems can't be added or deleted, but you can override the default values. The grid template XML file specifies the number of ancillary grids and creates grid components for up to four ancillary coordinate systems. The grid template, area of interest, input feature dataset, and the primary and ancillary coordinate system must use the same datum. If the primary coordinate system uses a different datum than the default, for example, if you change the coordinate system from one that uses WGS 1984 to one that uses NAD 1983, you must change each ancillary coordinate system from WGS 1984 to NAD 1983. All coordinate systems specified must share a common geographic coordinate system. The grid template XML file defines grid components depicting measurements or locations for primary and ancillary coordinate systems. If the layer has more than one feature, the tool will only create a grid layer based on the feature with the lowest ObjectID. Only one selected feature will be used from this layer. If you are using a feature layer to define the area of interest, it must be a polygon feature class or polygon layer. You must define an area of interest to determine the extent of the grid layer to be created.
CREATE SITE GRID ARCGIS 10.3 UPDATE
It is not meant for creating grids or graticules that dynamically update as the user navigates the map. This tool is designed for projected maps that will be printed or exported. When the definition template is applied, features are created according to the specification based on the current extent or extent of a selected feature (area of interest), scale, and coordinate systems. This file stores specification properties for each grid, such as the number, color, and line weight of gridlines. The grid definition template is stored in a predefined XML file. An eighth feature class ( GRD_) contains organizational information, such as map name and grid types that are used to organize your grids. These feature classes can hold information for multiple grids. These feature classes/components are as follows: Each feature class is named with a three-letter prefix that helps identify the grid component the feature class holds. There are seven feature classes that store the basic components of a grid. These feature classes are saved in a specified feature dataset in a geodatabase. These components are stored as features in corresponding feature classes. Grid layers are ideal for advanced grid definitions that are scale and extent specific.Įach grid layer can be composed of a mask (polygon), clip (polygon), segments (line), gridlines (line), ticks (line), endpoints (point), points (point), and annotation feature classes.
Creates a grouped layer of feature classes depicting grid, graticule, and border features using predefined cartographic specifications.