ArcGis How To Flashcards
what does an .mxd file save?
Saves the list of layers you have, the current displays (maps etc) and pointers to your data. The .mxd file does not include your data sets - just the location
File → Need to go into map documents properties → store relative pathnames to data source
select by attribute
In box of all attributes associated with each value - double click on the attribute you want, then “get unique values”
If you want to use this permanently need to export as a new shapefile - but select “selected features” under export options and save as a shapefile
Then import as a new layer and unselect the old selection highlight
how to find the coordinate system/projection info for data frame
View → data frame properties → coordinate system tab → in box labelled current coordinate system → can search for other systems and change them here
For a basic latitude and longitude geographic coordinate system: World geographic system (WGS) 1984 (under world folder)
how to find a coordinate system/projection information for a layer
Double click on layer in table of contents to open the layer properties → source tab → in box under data source
quantities symbology
Open up layer properties → symbology→ quantities→ graduate symbols → choose classification method to set cutoffs → tidy up labels for the cutoff → select symbols and colours
attribute table functions
Select by attribute
Sorting - right click on the column heading for sorting options (ascending, descending)
Statistics - right click on the column heading for a numeric field.
Field calculator (for prevalence)
Calculate geometry
eliminating extra decimals and commas
In properties/symbology click on label section heading and select format labels→ under option for number of significant digits change the field to one or two (no more unless dealing with values less than 1)
break apart a legend
Caution: once done this the legend will no longer automatically update
R click on legend → convert to graphics → right click on all the selected pieces of the legend again → ungroup —> repeat
Now can modify and move all the pieces of the legend around
To add GPS coordinates
Go to table that has been importanted and right click and select “display XY data”change X field to “point X” and y field to point y
Make sure it is set to the right projection
To make plotted points permanent it has to be exported as a shapefile and re-imported
Make sure to turn off the temporary layer
How to create new shapefiles
Open up ArcCatalog (at the side of screen). Select folder with raw data and rick click > new > shapefile
Select whether it is a point, polygon, polyline etc. and give it a coordinate system and name it
Make sure the new shapefiles are in the table of contents, if not drag into it from the ArcCatalog
Digitizing
Need to make sure attribute table has matching fields for ids
Attribute table → table options → add field
Make editor toolbar visible: view > toolbar > edit. Select :”start editing”under source select the folder directory where you created shapefiles
Click on create features from editor toolbar and make sure to select the right field from the create features directory
As make new points make sure to update the attribute table with the right id
If need to move a point placed use the little black arrow next to the editor drop down menu
Table join
Have to be outside of an edit session
Go to layer and right click > joins and relates > join > table join > select “join attributes from a table:, the field you want joins, the table you want the information added from → once completed remember to export and re-import as a shapefile
How to calculate prevalence
Attribute table: Add a new field, name it and select double type
In attribute table select those house with at least 1 malaria case
On the new field right click and select field calculator
CASES / PEOPLE * 100
How to find mean centre, median centre, directional distribution
Toolbox icon → spatial statistics → measuring geographic distributions
Input: the shapefile with information
Output: what you want it named
Weight field is optional - for the number of people, cases or prevalence that you would liked to consider
For directional distribution have to select the ellipse size
To find nearest location
Make sure the reference point have X, Y coordinates and are in the same projection and are all merged as 1 shapefile
To merge go to geoprocessing > merge > input the data sets and export
Do a spatial join with the closest distance option starting with the thing you are measuring distance to (e,g, households) and specify the reference point (e.g. boreholes) to join
In spatial join select the option “each point will be given all the attributes of the line that is closest to it and a distance field showing how close that line is”
Export and re-import