GIS
Modified November 16, 2011
ESRI
NYSGIS Clearinghouse
CUGIR
ESRI:
Fundamentals for georeferencing a raster dataset
Stony Brook University Map, Legend, and Other Data
Map and legend derived from printable map (pdf) downloaded from Stony
Brook University Campus Maps on November 9, 2011.
Stony Brook University
LatLong and UTM Finder
Wildwood State Park Maps for Practice Georeferencing
Google
Earth Community: Wildwood State Park - The kmz attached at the bottom of
the post contains an overlay of a trail map photographed on a post along the
trail system. The map (jpg format) can be extracted from the kmz file for georeferencing.
Scanned, slightly wrinkled Wildwood State
Park trail map (jpg).
Wildwood State Park Boulder
Collection - Google Map with center crosshair and coordinates.
Shapefile, GPX, and Excel Files for GPS and Rock Mass Mapping
GEO 305 - November 15, 2011
Download RockMassSurvey.zip
to a folder of your own and extract all files to the same folder.
Enter the field data into the spreadsheet and save it in that folder.
---------------------------
After Glenn arrives ...
- Start ArcMap with a new map.
- Set the data frame (named Layers) coordinate system to Predefined
>Projected Coordinate Systems > UTM > Wgs 1984 > WGS 1984 UTM
Zone 18N.
- Add the SBU_Buildings and FieldArea shapefiles to the
map.
Preparing GPX Data and Adding it to the Map
- Open qwerty.gpx in Garmin MapSource.
- Save As in the same folder in dxf format with the name
qwerty.dxf.
- Select Use UTM Coordinates in the dialog box, then OK.
- Choose the Add Data button then double-click instead of
single-click on qwerty.dxf (the version with the blue icon).
- Select Point, then click the Add button. This will add
the points to the map, but not the tracks and annotation.
- Look at the attrubute table for qwerty.dxf Point and notice lots
of fields (attributes), including Type.
- Note that some of the records have Type set to the value User
Waypoint. These rows represent the GPS waypoints, as you might guess.
- Close the attribute table.
Selecting by Attributes
- From the Selection menu, choose Select by Attributes.
- Layer: qwerty.dxf Point
- Method: Create a new selection
- Double-click "Type" in the list of attributes.
- Single-click the = sign.
- Click the Get Unique Values button to see a list of the values
that are available in the Type field.
- Double-click 'User Waypoint'.
- The code box should now contain the expression "Type" = 'User
Waypoint'.
- Click the OK button.
- Now the waypoints turn blue on the map because they are selected.
Selecting by Location
- Now, from that set, we need to select only those waypoints that are inside
the FieldArea polygon.
- From the Selection menu, choose Select by Location.
- I want to select from the currently selected features in the following
layer(s): querty.dxf Point
- that: are completely within
- the features in this layer: FieldArea
- Click the Apply button.
- Click the Close button.
- Right-click qwerty.dxf Point in the table of contents
- Choose Data > Export Data ...
- Use the same coordinate system as the data frame.
- navigate to the folder where your data is stored, and rename the Export_Output.shp
file with a more meaningful name (Suggestion: CircuitPoints.shp).
- Do you want to add the exported data to the map as a layer?: Yes
- Remove qwerty.dxf Point from the table of contents.
Labeling the Points
- Double-click CircuitPoints.
- Choose the Labels tab in the Layer Properties dialog box.
- Check Label features in this layer.
- Label Field: Name.
- Click the OK button.
- Now, the points are labeled on the map.
Adding RockMassSurvey.xls to the Map
- Keep ArcMap running, but minimize it.
- In the spreadsheet, select the data you entered along with the ptnums
and the column headings from ptnum to descript.
- Paste the data into Notepad.
- Remove the last carriage return (the empty line after the end of the data).
- Save As RockMassSurvey.txt.
- Close Notepad after you are sure you did this correctly.
- Maximize ArcMap
- Add RockMassSurvey.txt to the map. It will not yet appear on the
map, but will be listed in the table of contents.
- Right-click RockMassSurvey.txt in the table of contents, and choose
Display XY Data.
- Select easting as the X field and northing as the Y field.
- Select the coordinate system as you did for the data frame.
- Click the OK button to add the data points to the map.
- Right-click, export the data, and add it it to the map.
- Remove the original table from the table of contents.
- Practice labeling and selecting by attributes, such as descript.
Adding and Filling a New Mass Field in the RockMassSurvey
Shapefile
- Open the attribute table of the new RockMassSurvey shapefile layer.
- From the Options menu at the bottom of the table, choose Add
Field ...
- For Name, choose Mass.
- For Type, choose Double.
- For Precision, choose 10.
- For Scale, choose 1.
- Click the OK button.
- Right-click the name of the new field, Mass, at the top of the
attribute table.
- From the menu that appears, choose Calculate Values ....
- In the Field Calculator box that opens, right-click the field name,
Mass, in the attribute table, and choose Calculate Values ....
- In the message box that appears, click the Yes button.
- In the Mass = box, type in the formula 2.8 * 3.14159/6 * [length]
* [width] * [height] / 1000 for the mass in kilograms.
- Click the OK button to perform the calculations.
GIS Sites
gis.com
GIS Lounge
Quantum GIS
Open Geospatial Consortium
----------------------------------------------------------------
geomatic mashups home
Created November 9, 2011