Creating a new map library
This example procedure describes how to create a new map library using
the ESRI ARC/INFO Librarian database management module. For the purposes
of this example the new map library will be named WRLIB (Water Resources
Library). This specific process was developed in direct reference to the
ARC/INFO online documentation (ARCDOC) for Librarian management. This process
is designed for use in a computing environment in which the machinery are
SunSparc 20s and Sun Ultras, the operating system is Sun Solaris 2.5 (Unix),
the user interfaces are Common Desktop Environment (CDE) and OpenWindows
operating on an FDDI token ring network using NFS mounting protocol. Users
with PCs can access the environment through Hummingbird X-Windows software.
Actions for which ARC/INFO commands are available are capitalized,
- e.g. BUILD all coverages before MAPJOINing them.
Unix commands are prefaced by a typical Unix prompt naming convention
of '<machine name>.<user name>%' <command> {arguments},
- e.g. abaco.tim% cp oldfile newfile
- Choose a Tile Structure
- Most Department of Water Resources project work is performed in large
scale areas of interest. The GIS datasets created for, and resulting from
these projects are best stored in a large scale tiling scheme. Index12
is based upon the USGS Quarter Quad, or 3.75' quadrangle, and is the best
available tiling scheme for the new map library.
- USGS Quadrangle Boundaries
- Index12: USGS 3.75' Quadrangle Boundaries
- Index24: USGS 7.5' Quadrangle Boundaries
- Index100: USGS 15' Quadrangle Boundaries
- Index250: USGS 30' Quadrangle Boundaries
- Political Unit Boundaries
- County Boundaries
- State Boundary
- .
- Add an environment variable to the user interface environment files
- The tile index coverage (see next step) stores a system pathname to
each tile workspace directory. The value stored in the index coverage can
be the name of an environment variable. Using an environment variable resolves
the problems related to actual storage device location of the data. If
the data location changes, just reset the system variable. Using this technique
can allow structural alterations to be effected without interrupting user
access to the data. A well-managed system will utilize standard master
files which set a basic environment for all users. The environment variable
should be set in these master files. You may need to consult with your
system administrator to use this technique. In the directory where the
master environment files reside, add the variable setting to the '.login'
(Unix OpenWindows) & '.profile' (Unix Common Desktop Environment) files
- Create the tile index coverage
- Since data layers will continue to be added to this library for the
foreseeable future, and since the spatial extent of the future data layers
is as yet undetermined, the spatial extent of the tile coverage will cover
all of UTM Zone 17 from east to west (this zone includes the entire peninsula
of Florida) and from south to north will include the area from the Florida
Keys to the area covered by the Floridan Aquifer (Georgia and South Carolina).
Creating the tile index coverage to cover an area large enough to include
features which will only possibly be mapped can eliminate difficulties
associated with re-tiling the library in the future at a minor cost in
development time and disk space. The name of this coverage will be INDEX,
and it will reside in the Library Reference Workspace.
- The tile coverage must be extremely clean and well developed.
- The tile coverage must adhere as appropriate to the SJRWMD standard
general vector data characteristics.
- One or more items in the INDEX.PAT must cause each polygon to be unique.
- eg, QUAD-NAME, QUAD-NUMBER, QUARTER or something similar
- In Arc: ADDINDEXATT INDEX
- This command adds two items to the INDEX.PAT; TILE-NAME and LOCATION
- In INFO, populate the TILE-NAME item with values from the unique-value
item(s) using CONCATENATE.
- CONCATENATE TILE-NAME FROM 'tile',QUAD-NUMBER,QUARTER
- In INFO, populate the LOCATION item with the correct path, then the
TILE-NAME. Instead of a specific system path string, the system environment
variable set in a previous step is inserted in the LOCATION item at this
step. When a user accesses the data, the '$' sign prompts the operating
system to use the value stored in the variable rather than the string which
describes the variable.
- CONCATENATE LOCATION FROM '$WRLIB',TILE-NAME
- Example INDEX.PAT developed from the USGS 3.75' quad tile coverage
INDEX12. The items included after LOCATION are user-defined items intended
to facilitate future use of this index coverage.
- .
INDEX.PAT
| COLUMN |
ITEM NAME |
WIDTH |
OUTPUT |
TYPE |
N.DEC |
ALTERNATE NAME |
INDEXED? |
| 1 |
AREA |
8 |
18 |
F |
5 |
. |
- |
| 9 |
PERIMETER |
8 |
18 |
F |
5 |
. |
- |
| 17 |
INDEX# |
4 |
5 |
B |
- |
. |
- |
| 21 |
INDEX-ID |
4 |
5 |
B |
- |
. |
- |
| 25 |
TILE-NAME |
32 |
32 |
C |
- |
. |
- |
| 57 |
LOCATION |
128 |
128 |
C |
- |
. |
- |
| 57 |
QUAD-NAME |
40 |
40 |
C |
- |
. |
- |
| 57 |
WMD# |
4 |
4 |
I |
- |
. |
- |
| 229 |
QUARTER |
2 |
2 |
C |
- |
. |
- |
| 231 |
USGS# |
7 |
7 |
C |
- |
. |
- |
| 238 |
UTM_ZONE |
2 |
2 |
I |
- |
. |
- |
| 240 |
ADD_TILES |
1 |
1 |
I |
- |
. |
- |
.
- Identify tiles in INDEX for which Library Tile Workspaces will be
created:
- The boundaries within which SJRWMD has responsibility are drawn politically
utilizing existing state, county, and public land survey system boundaries.
These politically drawn boundaries were based as closely as possible to
physical surface water basin system boundaries. Most Dept. of Water Resources
projects are based upon and bounded by surface water basins. ARC/INFO coverages
for the SJRWMD boundary and the associated surface water boundaries exist.
The surface water basins boundaries coverage will be used to create the
initial Library Tile Workspaces.
- CLIP INDEX SWBASINS TILECOV NET 0.0001
- FREQUENCY TILECOV.PAT TILECOV.TILE-NAME
- In Arcedit:
- edit INDEX
- editfeature poly;de poly;draw
- relate add
- Relation Name: tilerel
- Table Identifier: tilecov.tile-name
- Database Name: info
- INFO Item: tile-name
- Relate Column: tile-name
- Relate Type: linear
- Relate Access: ro
- Relation Name:
- sel tile-name ne ''
- resel tile-name = tilerel//tile-name
- nsel
- calc tile-name = '';calc location = ''
- relate drop
- Relation Name: tilerel
- Relation Name:
- save;quit;BUILD INDEX POLY
- .
- Create the Library Tile Workspace directory
- Library Tile Workspaces can reside on any disk which is shared on the
network. In this case, the Dept. of Water Resources GIS Database Administrator
has determined that the most appropriate disk drive for this library is
a 9gb drive on a machine named Luna.
- abaco.tim% cd /net/luna/data
- abaco.tim% mkdir wrlib_tile
- .
- Create the Library Tile Workspaces
- abaco.tim% cd wrlib_tile
- abaco.tim% arc
- Arc: librarian
- Librarian: BUILDTILES <pathname to index coverage>/<index
coverage>
- .
- Create the new map library
- abaco.tim% cd /gislib/librarian/database
- abaco.tim% arc
- Arc: librarian
- Librarian: CREATEMAPLIBRARY wrlib <pathname to index coverage>/<index
coverage> transactional
- .
- Create the Master Tic Coverage
- The Master Tic coverage will allow future data entry from a digitizing
tablet if necessary. In this case, the document from which data is converted
will need to possess quadrangle corners or other features which are coincident
with 3.75', 7.5', 15', or 30' quadrangle corners. The coverage must be
named MASTERTIC, and it will reside in the Library Reference Workspace.
- abaco.tim% cd /gislib/librarian/database/wrlib_ref
- abaco.tim% arc
- Arc:CREATE MASTERTIC INDEX
- Arc: WORKSPACE /net/luna/data/wrlib_tile
- Arc: librarian
- Librarian: VISIT arc copy /gislib/librarian/database/wrlib_ref/mastertic
- (This copies the mastertic file to all of the tiles)
- Librarian: VISIT arc rebox mastertic
- (This leaves only four TICs which correspond to each tile)
- .
- Use GRANT in librarian to give users access (Manager, Operator,
Browse, Look, None):
- Librarian: LIBRARY INDEX24UTM
- Librarian: GRANT tim manager library
- Librarian: GRANT dla manager library
- Librarian: GRANT $rest browse library
- .
- Add data to the library