HOW TO
United States Geological Survey digital raster graphics (DRGs) are often provided with their collars intact. It may be desirable to remove this part of the images, particularly where several DRGs are to be tiled together.
Bounding Coordinates
1.5.1.1 WEST BOUNDING COORDINATE: -88.375000
1.5.1.2 EAST BOUNDING COORDINATE: -88.250000
1.5.1.3 NORTH BOUNDING COORDINATE: 41.750000
1.5.1.4 SOUTH BOUNDING COORDINATE: 41.625000
Make a text file called COORD.TXT with the values as follows
(West South, West North, East North, East South):
-88.375000 41.625000
-88.375000 41.750000
-88.250000 41.750000
-88.250000 41.625000
4.1.2.2.2.1 UTM ZONE NUMBER: 16
input
projection geographic
units dd
datum nad27
parameters
output
projection utm
units meters
zone 16
datum nad27
parameters
end
Code:
Usage: PROJECT <COVER | FILE> <input> <output> {projection_file}
Arc: project file coord.txt output.txt geog2utm.prj
The contents of OUTPUT.TXT should be something like this:
385455.1963 4608841.8819
385676.7404 4622719.9991
396069.9634 4622561.4366
395868.5676 4608683.4007
101,390000.0000,4615000.0000
385455.1963,4608841.8819
385676.7404,4622719.9991
396069.9634,4622561.4366
395868.5676,4608683.4007
385455.1963,4608841.8819
end
end
Code:
Arc: GENERATE clipbox
generate: INPUT makepoly.gen
generate: POLYGONS
generate: QUIT
Arc: CLEAN clipbox clipboxcln
Code:
Arc: IMAGEGRID drg.tif drggrid
Code:
Grid: gridclip drggrid drgclip cover clipboxcln
USGS DRG Color Palette
Digital Number Color Red Green Blue
0 Black 0 0 0
1 White 255 255 255
2 Blue 0 151 164
3 Red 203 0 23
4 Brown 131 66 37
5 Green 201 234 157
6 Purple 137 51 128
7 Yellow 255 234 0
8 Light Blue 167 226 226
9 Light Red 255 184 184
10 Light Purple 218 179 214
11 Light Grey 209 209 209
12 Light Brown 207 164 142
Make a colormap file from the information above in the following format:
"drgpalette.clr"
0 0 0 0 (Black)
1 255 255 255 (White)
2 0 151 164 (Blue)
3 203 0 23 (Red)
4 131 66 37 (Brown)
5 201 234 157 (Green)
6 137 51 128 (Purple)
7 255 234 0 (Yellow)
8 167 226 226 (Light Blue)
9 255 184 184 (Light Red)
10 218 179 214 (Light Purple)
11 209 209 209 (Light Grey)
12 207 164 142 (Light Brown)
Note: This palette could also be made into a shadeset.
Code:
Grid: gridpaint drgclip # # # drgpalette.clr
Code:
Arc: gridimage drgclip drg.clr drgcli.tif tiff compress
Article ID:000002123
Get help from ArcGIS experts
Download the Esri Support App