Changing co-ordinates from the Library`s catalog to a shapefile

advertisement
Page 1 of 5
Changing co-ordinates from Library’s catalog to ArcGIS
Changing co-ordinates from the Library’s catalog to a
shapefile (polygon) in ArcGIS















Using http://boundingbox.klokantech.com/ establish the bounding box coordinates of the map,
if they do not exist.
Update the record in OCLC and export to the catalog.
Copy the entire co-ordinates from the library’s catalog (web or cataloging module) including
the “(“ and “).”.
Open Word document “MACRO Converting Degrees min sec to decimal degrees”—latest
version.
Paste copied coordinates into a Word document.
Click on “Developer” tab at top of document.
Choose “Marcos”—far right.
Click on “coord_to_table”.
Click “run”.
The coordinates will convert into a table.
Copy new table.
Open Excel file “Converting Coordinates 97-03 version”.
Paste into fields A1-D4 of “Sheet1”.
Check on “Sheet2” that things are good.
Save.
Adding points to GIS











Open ArcGIS.
Open project Colorado geology maps [appropriate version].
On “Layers”, right click on “Properties”. Go to “General” tab. Click “Units” “Display” pull-down
and make sure it is set to “Decimal degrees”. You can see that it is in degrees by running the
curser over the map and seeing degree units in the bottom right.
Zoom into Colorado (or part of it).
Click on “Add data” button.
Choose “Sheet2$” from “Converting Coordinates 97-03 version” Excel file.
Right click on “Sheet2$”.
Right click on “Sheet2$” layer. Choose “Display XY data”.
Click “Ok”.
An error message “Table Does Not Have Object-ID Field” will pop up. Click “Ok”.
A new layer of points should appear. “Sheet2$ Events”.
Convert points to lines


We want to convert the points into lines. This takes several steps.
Open ArcToolbox on the right side.
Page 2 of 5
Changing co-ordinates from Library’s catalog to ArcGIS








Select “Data Management Tools” then “Features” then “Points to Line”.
In “Input features” select the points layer you just created.
In “Output feature class” choose an appropriate place and name (e.g.
g4311_c5_1944_F5_box).
Check the “Close Line (optional)” box.
Click “Ok”.
A new layer will appear.
SAVE
Remove (g4311_c5_1944_F5_points), “Sheet2$”, and “Sheet2$ Events” layers.
Add fields to Attribute Table























Click on the “Catalog” tab on right side.
Open to “Toolboxes” -- “My Toolboxes” -- “Custom_toolbox.tbx” -- “Add 6 Columns to Table”.
Right click and choose “Edit”.
A new box full of boxes and arrows should appear.
Right click on the BLUE box (it should be a map call number_box).
Delete the blue box.
All the other boxes will turn white.
In the Table of Contents, click on the newly created box.
Drag it into the new box to the same place that the blue box was in.
The new box will be blue.
Right click and choose “Model Parameter”.
A “P” should appear in the upper right corner of the blue box.
In the Model Builder tool bar, choose the “Connect” tool (3rd from the right).
A wand will appear.
Click first on the new, blue box, then on “Add Field”.
In the pop-up, choose “Input table.”
All the boxes will change to yellow and green.
Click on the “Validate Entire Model” button on the Model Builder tool bar (the check mark).
Click on the “Run” button.
A new window will open and perform a large number of steps (also the boxes in the model will
change color as it runs).
Once the model has finished, it will say “Completed” in the pop-up box.
Click on “Close”.
Close the model. Say “Yes” to saving the changes.
Edit data in Attribute Table



Right click on the new “box” layer.
Choose “Attributes table”.
The model added 6 new fields (with their aliases) and filled in several of them. Subject -Scale – Call # -- Library location – Library catalog – Online version
Page 3 of 5
Changing co-ordinates from Library’s catalog to ArcGIS










On the “Editor” tool bar (upper right), from the “Editor” pull down, choose “Start editing”.
Enter data
In “Subject” put a subject or abbreviation of the title, plus the year (e.g. “Vanadium region of
SW Colorado and SE Utah, 1944” [note: no period at end]
In “Scale” put scale including “1:”.
In “Call #” enter the call number.
“Library location” should be filed out--“Map Room” or “Map Room Stacks” or “Map Room
Oversize” or “Map Room USGS Thematics Collection”. NEVER “Map Room Flat.”
Part of “Library catalog” should be filled out with
http://catalyst.coalliance.org/vwebv/holdingsInfo?bibId= Add the bib id # from Catalyst.
“Online version” should be filled out with “none”. If there is an online version, put in the url.
On the “Editor” tool bar (upper right), from the “Editor” pull down, choose “Save edits”.
On the “Editor” tool bar (upper right), from the “Editor” pull down, choose “Stop editing”.
Changing output display



















From the “Table of Contents”, right click on the layer and choose “Properties”.
Choose the “Display” tab.
Change “Display expression” to “Subject”.
Check the “Support hyperlinks using field” box and select “Library_catalog”.
Click on the “url” button.
Click on “Apply”.
Choose the “Symbology” tab.
Click on “Symbol”.
Choose “Highway”—this will change the width of the line to 3.4.
Change colors to the following:
Scale
Color
0 -- 25k
Solar Yellow
26k – 64k
Arctic White
65k – 127k
Lapis Lazuli
128k – 257k
Mars Red
258k ++
Peridot Green
Click “Ok”.
Click on “Apply”.
Choose the “Fields” tab.
Select the “Turn all fields off” button above “Choose which fields will be visible”.
Select (put check marks next to): “Subject”, “Scale”, “Call_number”, “Library_location”,
“Library_catalog” and “Online_version”.
Click “Apply”.
Choose the “HTML Popup” tab.
Select “As a formatted page based on an XSL template”.
Select “Load” then “Load XSL template”.
Page 4 of 5
Changing co-ordinates from Library’s catalog to ArcGIS





Choose “HTML Popup 10--colorado geology--orange yellow”.
Click on “Verify” button to confirm table colors and layout.
Click “Apply”.
Click “Ok”.
SAVE
Append file











Choose “Search” bar on right side.
Enter “Append”
Choose the result that says “Append (Data Management) (Tool)”
A new box will open.
On the “Input Databases”, choose the newly created box/footprint.
On the “Target Database”, choose the appropriate one.
Click “Ok”.
Once the tool has run, turn off the newly created box/footprint.
Turn on the layer that was just appended.
After insuring that the new box was added to the layer, delete the individual layer.
SAVE
4:18 to do with programs open. From copy from Catalyst to end.
Export to KML file











Open ArcToolbox.
Open “Conversion Tools”.
Open “To KML”.
Double click on “Layer to KML”.
In “Layer”, choose box layer just completed.
In “Output file”, choose the appropriate location and name the file “[call number]”.
Click “Save”.
For “Layer output scale” enter “1”.
Press “Ok”.
It’ll take a moment or 2. A success box will appear in the bottom right.
Open file in Google Earth to make sure it works and looks correct.
4:30 if Excel & Arc are not open.
1.
Have in your spreadsheet x, y coordinates representing the corners in order (either clockwise or counter-clockwise but
not upper left followed by lower right followed by upper right … ) and a number that corresponds to a specific map.
2.
3.
4.
5.
Page 5 of 5
Changing co-ordinates from Library’s catalog to ArcGIS
Bring in the spreadsheet and create a point event layer using “Add X, Y”.—right click on sheet “Display xy data”
Export the points to a feature class.
Use the “Points to Line” tool under “Data Management”>”Features” in the toolbox with the attribute representing the
map # in the “Line Field”
The use the “Feature to Polygon” tool under the same toolbox.
That should do it. The tricky part will be having your corner x-y’s in order going around the map but the rest should be
fairly straightforward I think.
(W 105°37ʹ30ʺ--W 105°30ʹ00ʺ/N 37°15ʹ00ʺ--N 37°07ʹ30ʺ).
(W 106⁰22'30"--W 106⁰15'00"/N 40⁰52'30"--N 40⁰45'00").






Stay in ArcToolbox.
Select “Data Management Tools” then “Features” then “Feature to Polygon”.
In “Input features” choose the layer you just created.
In “Output feature class” choose an appropriate place and name.
Click “ok”.
A new polygon—the footprint of the map will appear. This polygon can now be enhanced so it
can be used in an appropriate way.
Download