Select to view content in your preferred language

Calculating averages using point data: Desperate for assistance!!!!

2668
12
11-20-2012 04:30 PM
TravMoore
Emerging Contributor
Hi,

I currently have a global map shapefile, superimposed by 8192 data points that show temperature changes (per degree Celsius of global warming) and degrees of latitude/longitude at those locations on the globe. So, for instance, an individual data point would say (when using the "Identify" function) at 180 West, 45 degrees North, the temperature change per degree Celsius global warming is 0.8 Celsius. Each of the 8192 points contain this sort of data.

What I am attempting to do is simply calculate various averages for different regions by somehow combining the necessary points over those regions. For example, if I would like to calculate the average temperature change in the United States, how could I do this using the point data that covers the United States?

Any assistance would be greatly appreciated!

Patiently awaiting your response(s),

~Trav.~
0 Kudos
12 Replies
by Anonymous User
Not applicable
If you simply want to find the averages in a particular region, you can do a spatial join of your Boundaries file to the point file.  Once you have done this you will have the region name for all points and you can then get the average by region many ways:


1. right click the region name field and choose "Summarize" and select "MEAN" for the temperature field
2. use the summary statistics tool to do the same.  Use the regions field as the case field and the temp with "MEAN" as the Statistics field.

http://resources.arcgis.com/en/help/main/10.1/index.html#//00080000001z000000
0 Kudos
TravMoore
Emerging Contributor
Hi Caleb,

Thank you so much for your good assistance on this! I just wanted to know, however, if there are simple procedures to follow in conducting a spatial join?

Thanks again,

~Trav.~
0 Kudos
RamB
by
Frequent Contributor
Hi,

first make a polygon layer that has a polygon for each region you want a summary for.
second, do a spatial join to the polygon layer using the 'one to many' option (polygon to many points) with the point file and do not forget to check the option to calculate average value for a user defined field (temperature change).

after you do that, open your polygon attribute table and you have average temperature change for each polygon(region)


regards,
0 Kudos
by Anonymous User
Not applicable
Here is the link showing how to use the spatial join tool.  It is located in the Analysis Tools toolbox under "Overlay".  I believe the summary statistics is also in the Analysis tools.

http://resources.arcgis.com/en/help/main/10.1/index.html#//00080000000q000000

As Srirama suggested, use the "One to Many" join operation and make the temperature points the "target features" and your regions as the "join features".  Once you have done this you can use one of the two methods I showed to get the average temp change.
0 Kudos
TravMoore
Emerging Contributor
Thank you, Caleb and Srirama, for your good help on this!

I will attempt what you both had suggested, but I guess that my only question is would the "Spatial Join" function work for the desired regions on a global map layer, or do I need to separately create other layers with the regions of interest? For example, if I were interested in the U.S., could I use the "Spatial Join" function directly for the global/world map layer that I already have, or do I need to create a U.S. layer separately, and then use "Spatial Join"?

Also, how may I create separate "polygons" for specific regions?

Many thanks, again,

~Trav.~

EDIT: I have attached a map to facilitate my question.[ATTACH=CONFIG]19463[/ATTACH]
0 Kudos
by Anonymous User
Not applicable
Thank you, Caleb and Srirama, for your good help on this!

I will attempt what you both had suggested, but I guess that my only question is would the "Spatial Join" function work for the desired regions on a global map layer, or do I need to separately create other layers with the regions of interest? For example, if I were interested in the U.S. could I use the "Spatial Join" function directly for the global/world map layer that I already have, or do I need to create a U.S. layer separately, and then use "Spatial Join"?

Many thanks, again,

~Trav.~


The spatial join will work with all regions in whatever layer the boundaries are coming from.  For example, if you have a feature class that has ALL the countries and/or continents and you spatially join those polygon features to the temperature point features will give you a result of all the point features with a field in the table that tells you which region each point is located in (plus the other fields in the boundaries table).  So you can use the "Region Name" field as the case field for the summary statistics tool and select the "MEAN" statistic for the temperature field.  This will give you the mean temperature between all the points within each region.  If you just want to do individual regions, you can just select a region by its name and get the Mean for just those selected points.
0 Kudos
TravMoore
Emerging Contributor
Hi Caleb,

Okay, that sounds fine, thank you!

Just to be safe, though, I have included an image attachment in my previous message showing the map (and superimposed data points) that I am using. Did you happen to see it above? If so, does this map fit your explanation? You can enlarge the image to see the details for the world map and what is included. 🙂

Thanks again,

~Trav.~
0 Kudos
RamB
by
Frequent Contributor
Hi,

you making it too complex while it is not. 🙂 It is a simple right click operation.

just use the following option on spatial join on polygon (join feature) with the point layer (target feature)

1. join operation = one to many
2. use the merge rule mean on your temperature field
3. match option = completely within.

It is solved. Open your polygon layer attribute table and you have mean temperatures for each polygon (each row).

🙂
0 Kudos
TravMoore
Emerging Contributor
Hi Srirama,

Thank you for your assistance on this, and I apologize if I am a little too meticulous! I will duly proceed with your (and Caleb's) instructions.

Just to be safe, though, these procedures would apply to the world map that I have shown above (all of the layers that I am using are found in that image at the end of post #6, if it helps), correct? Sorry about the ongoing questions, but I would just like to make sure that I am on the right track. 🙂

Thank you for all of your help and patience.

~Trav.~
0 Kudos