Geospatial Analytics Tip: Excel Joins with ArcGIS

Posted by bkloss | Geospatial Analytics | Monday 22 September 2008 6:00 pm

Geospatial analysis is becoming more and more prevalent in the field of analytics.  Maps are invaluable for visualization and trend discovery.  Perhaps more importantly they can bring an instant WOW factor to your next report or presentation.

This article provides a brief tutorial on how to join excel data to a map using ArcGIS, then display the results in a stimulating manner.

Ask yourself, what looks better…

boring excel table finished map

Here’s the scenario – Your boss wants to know where to open a new dealership.  You decide to show a count of customers for each zip code within 100 miles of the current dealership to visually represent potentially prosperous new locations.

You will need two files to complete this operation.

Assuming that customer data is stored within an excel spreadsheet, that will be the first.

Then you will need a . SHP (ARCGIS format) file for the area in question that contains zip code map data.  For this example we will use a map of North Carolina, focusing specifically on the area around Raleigh / Durham.

If you don’t have the appropriate .SHP file on hand there are several online resources that provide, map data for download.  I often use the resources listed at North Carolina State’s Library Site to find the map files I need.

Make sure to find a map that contains a field that is also contained in your excel file.  For this example I will join the two tables on the common attribute of zip code.

Once you’ve found your files,  open ArcGIS, start a new project and click the   Arc GIS add data button  on the top toolbar to add the .SHP zip code file.

You’ll see the map of your chosen area now appear.

Zip code map of NC

 Pre-join Tasks

ArcGIS requires that the format of the common join field be the same for each table.  Right click on the table name in the layers window then select properties => Fields.  There you can view the the type column to see if the join variable is character, numeric or otherwise.

field attributes

Now that you know the join variable type in the SHP file, return to your excel sheet and do the appropriate functions and calculations to obtain summary values.  For this example, I used the count function to obtain the frequency of customers for each North Carolina  zip code.

Create an excel sheet that has the appropriate data (join field, summary value).  Be very careful to create the join field as the same type as the equivalent field in your map file.  If you need to convert numeric data to character, you can use this function.

=text(startposition, “string length”)

startposition is the first cell in your excel that will be transformed.

String length is a placeholder for how long your text string will be after conversion.  For our example using  zip codes, the string length would be “00000″ for the five number zip codes.  Make sure to include the quotes in your string length statement.

Please also make sure that your excel has a first column called objectid.  Object id should have ascending numeric values starting at 1.  You should also make sure that none of your column names contain a special character, have a space or start with a number.

Join Execution

Now that the excel is properly munged we want to join it to the map in ArchGIS.  This can be accomplished by  right clicking on the layer name and selecting join.

Joining data

Now you need to define the join.  In the first field select the common variable (zip code) from the list.  In the next field navigate to your spreadsheet.  Finally, in the last field pick the common field in the spreadsheet.

Joining excel data window

 Click OK and the excel data should be correctly associated with your map layer.

Time for a housekeeping task.  Right click on the layer name (export_output2)

 Choose open attribute table then right click on the column name of your summary column (in our case customer_frequency).  Select properties from that menu then click the numeric button.

numeric button position

Once selected, define the number of decimal places to be zero.  By default, Arc may define too many decimal places making your report look sloppy.

Color Gradation

Now that we’ve joined the sales data to our map, let’s display it in a visually stimulating and communicative manner.  We’ll shade different regions of our map by value of the excel value so people can understand the distributions of the quantity of interest at a glance.

Close the attribute table and again right click on the layer name.  Choose properties once more and navigate to the symbology tab on the top of the window. Choose the options as show below.  Quantities =>Graduated Colors.  Select the excel attribute from the value drop-down and the color ramp of your choosing.

Gradiated Color schemes

This should give you a full blown map!  See my other post to add city name labels, an attractive legend and bold map title.

 

 

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

cy fair hospital
allegheny county dade county
afl-cio maxine chesney
carolina high mast
aft nets for corsair trimarans
corn masa flour recipe
3rd ward project row houses houston
boise.com
boo champagne baseb
lost radioactive sources
cannon powershot a40 user manual
fisher martins
cecilia zurita fiscal uniplex
agri of va
affiliate marketing ebook
aero herb
maxchevy.com
air conditioning condensation
jb baker p-51 mustang
arent community driven
0 mile air cooled vw motors
all inclusive bahama vaction
european crs
all-ru.net
administracion por objetivos
fellowship of internation churches
rachet and clank cheats for ps2
bob skinner
25 brookwood avenue albany ny
adsense google review
change xp key to genuine key
find postcode uk
infared for dummie
trianglemotorsales.com
air race pilots deaths reno
ammonium c12-15 pareth sulfate
diamond-drill-bit-and-tool.com
photos of portofino italy
antivirus descargas gratis
oder women
alfred derek ward wrought iron
case study on obsessive compulsive disorder
aspirin nasal
jianglan.info
birthday surprise ideas
dave payton baseball
bb3 screwdriver antenna
ponca arkansas
acting agent
atlanta low temperatures february 2006
canada vegan margarine
antibiotic drug resistance fact sheets
aging population working longer
biography of michael jai white
bryce 5 skull
creston hyundai
brown afro wig
blackwood baronets
neutron proton ratios nuclear stability
100 watt light bulb temperature
hdr treatment
home sweet home realy ridgecrest california
al jasra travel doha qatar
advanced auto herndon va
2002 bombardier gtx di
legseeker.com
beirut airport information
asconoid sponge
black spots on lips and tongue
charming mother taboo
1734 copper coat of arms coin
crave eastwood
andreas ernst oasis
hg history
aa meetings sf bay area catholics
education vouchers
113 collins ave hillsborough nc
beautyrest wilshire
hana barbera
goji juice aids diabetes
nba tallest basketball players
8 conduit street gloucester england
unemployment.com
2007 raptor 700r reviews
1986 toyota supra mouldings
carnegie foundation multiple roles of faculty
book python xm bianco
07 toyota tundra trd dual exhaust
attorney hal atencio adoption
argentina polo shirts
brain-aneurysm.com
cannondale adventure 1000 bike
boon moses maryland caroline county
free t4 tsh
adjust tension viking sewing machine
1620 case price
interpol rock band
yellow.info
group beta strep treatment
mrytle beach speedway
mgb 4 link rear suspension
iapshop.com
free milfs pics
readingglassesforless.com
animal hunts for sale
homemade hydroponic system
parkland college radio station 88.7
desert tides las vegas
101 home search in denver
mathilde escher heim z rich
leisurebay.com
mint leafs
1995-1997 toyota landcruiser locking differential
audiology stirling
colorado springs banditios frankie padilla jr
tgirl-exotica.com
bp chiang mai hotel
alice chang brisbane
charles sturgeon
milk junkie torrent
amx trucking
paranoid herbal remedies
1996 baja islander 4.3l mercruiser
elcaribecdn.com
how to make headboards
11x14 self sealing archival sheets
oilers ceramic luv ya blue copy
jane et tarzan
blood sampling and central venous catheters
canton choral society
barr 382
daniel bedingfield
360 mods tutorials
angelic magick
assessing diagnostic test power calculation
cappuccino international
girls dress with petticoat
american mink european mink
albertus maximus and horse
jannean lacy
buy a chinchilla
dmc crimpers
cast of gentlemen prefer blondes
hemophilia carried by father
edie hill
disinformation geiger
euro millions online
robpongi.com
budget for purchasing home
aol 9.0 optimize broadband
artist of the republic 1997 azerbaijan
cabnit departments
2.1 home theater compare
matthew sprague carson city nevada
fluke 12 tester
tstoplist.com
apeal democrat newspaper
anne arundel communty college
catholic charities annual report catholic charities
$5 educational cd
2001 kia rio airbag light
ozzie guillen mike north
dr nathan hale williams
music videos secondhand serenade
free tracfone airtime cards
bear charges hunters ak
2007 tuscola girls track sectional
hovercraft.com
1282 ih cadet lawn tractor
action slacks
continental drift on wikipedia
cru restaruant
riverhead grafitti
2007 gsxr 1000 devil titanium exhaust
cross reference siemens to square d
dodge raider lifter noise
dispensing oil can
montrail mountaineering boots
binocular suppliers in sa
benefits of typing
andy fisk maine dep
blogsperu.com
darth vader lightsaber fx
robert schumann grillen
fico score information good score
4 digit zip code
2d data matrix reader
5 or 6 basic plots
dorothy alter
breaking up alcohol molecules
mitchellondemand.com
laporte
uncommonreads.com
armani mania
csx and epa
history of bretagne france
adephia login
c ei rr a j pearson
brisco controls great yarmouth
northamericanbodies.com
adrian vogel
alexander graham bell and helen keller
basilica and cathedral photos
big eyed babies
betty lou miccio
budget priced veils
hubbell killark hayward
opossumcreek.com
badlands driving gas condensate dakota
louis prima songs
adolscent depression treatment facilities
28 to 48 fords broken axles
investigateonline.net
agencias viajes mallorca
kali and raleigh
12 volt 5 amp power adapter
boro tyres scarborough
brigadier general eugene lee strickland
alsscan sandra de marco
10 stainless steel skillet
lebourgethotel.com
6th dimension orb egypt
amazing balloon sculptures
27 mhz transmitter circuits
2 hole bracelet spacers
224 rickson st guelph
100 most useful gifts for women
bad lands attica
fake lois vuitton handbags
black decker flavor scenter steamer deluxe
altered bodies
apply for medicaid in michigan
animated gifs easter bunny
dropped 85 f150
calligraphy gallery
colored masking tape
ottsen.com
1000 island kingston canada
end of semester in italian
braintree head start integrated preschool
nuke bomb effects on the environment
new ulm mn festivials
about christmas ornaments
cccarto.com
mccormack 1958 utility tractor
american gothic costume
diana ott florida
theusaonline.com
guys in jock straps in gyns
lycos chat all rooms
cornelia b wilbur said
i moved out of the house
craftsmen statesman mower repair
pamunkeylibrary.org
elephant populations of the world
blog on mosaics
emai adresses
gwinnett center for outpatient surgery
50 efi idle setting
betty sewell design
1-a air acetylene torch tip
factory generac troubleshooting mf6500
nanotechproject.org
american diner sevierville
sarahbrightman.co.uk
medical salt craving
lyved.com
lindy focus
day of silence san jose
dielectric coating
el rincon de marquez
australia sorry day
do children in chile attend school
blaine wilson pyles coley merrick pyles
alexandre despatie bulging
3 digit addition worksheets
do mormons pray
bosier sand drilling leon county texas
2007 chevy cobalt parts in minnesota
claxby lincolnshire bunker
catholic church lockport new york
titsahoy.com
area code for irvine california
corinne dolan
aboriginal mental health victoria australia
a e burgess lea co
flow studios marbles
marta anderson
free sms to vodafone spain
british enfield musket
hampden railroad watches
genevieve braus
casey m hatfield
j khaki
commercialdirectloans.com
rosewood zora
cedar shingle silhouette
b b ownership
black wet look vinyl catwoman suit
bauer hockey pant shell
12203 birch street brooksville fl
a loss for words
gravitylayouts.com
baghdad in 700 ad
spashley storyline
andrews air outdoor flea
facom ratchet
abco leasing waco
jessica simpson vigina
curing acid reflux problems
comedian tom hester
feetpalace.net
navcommsta nea makri
2-methyl-2-hexanol physical state
1985 porsche 911 carrera cabriolet champagne
interesting facts about elizabeth cady stanton
spark-plugs.co.uk
1946 president
captain robert schneider admiral farragut academy
berry green new chapter organics
castlegate coalbed methane
cost-effectiveness analysis malaria
2007 louis vuttion mens lv sweater
ciudad est oak park
history of ludwig van beethoven
baluchitherium vs tyrannasaurus rex
amarillo highschool football standings
captain underpants paperback book
a good letter for a husband
synchronous buck converter undershoot
description of leicestershire 1622 burton book
agoge sparta
basic welsh words
coedsneedcashlinks.com
chevelle parts in plainfield ill
algonquin park resorts
3d lightsaber blade
connect pci to firewire
stevens-tech.edu