Tuesday, April 13, 2010

4/13 Update

I visited Ken today to help me with ArcGIS. Below are my notes for setting up a route between 2 points using ArcMap.

-Download files from PASDA->open in ArcCatalogue->drag the file into 'layers' in ArcMap

-Use the select tool to select part of the map (the whole map will take too long to process)

-In the layer window->selection tab:
Right click
Create layer from selected features
Clear selected features(this is a button on the right toolbar)
To save this, right-click -> data -> export data

-Create address Locator
A.L.Style: US Streets w/ zone
Ref. Data: teststreet
Role: Primary table ->press OK

-Geocode Addresses
Input table->we need to make one
New excel file: 2 columns, address + zip. Enter 2 rows, arbitrary values
Save as CSV (we called it adds.csv)
*Note: don't share data files between programs. ArcGIS doesn't like that
Refresh ArcCatalogue (right click)
Drag adds file to layers (under source tab)
Right click->open
Back to geocode address->input table = adds
Input Address Locator the one we made -> has 2 points from the 2 rows in adds.
Use the 'i' tool to identify

Note: you can use Tools->geocoding->rematch addresses if adds are out of date

Network Analyst
Toolbar(view->status bar->networkanalyst)
To turn on: tools->extensions->check the box next to 'network analyst'

For more info: click Help->network analyst->workflow description

In catalog: street test-> new network dataset
Impedance = length
Click OK->creates a streetstest_ND file
Move the 2 ND files from catalog to streetfile layer
New route->route->load locations->add ouradds
Finally click the solve button

Just plotting down 2 points and creating a route between them took over 40 minutes. This was without python scripting, or moving the dots at all.

Screenshot:

No comments:

Post a Comment