Friday, June 20, 2008
Geography of Teeth
Was reading the recent National Geographic Article about stonehenge. They discovered a burial site of a rich neolithic man in the Salisbury plain near Stonehenge. Turns out he was originally from the Southern Alps of Europe, and apparently had migrated to that area...how I'm not sure. But they discovered this information by doing an Isotopic Tooth Analysis. I just thought that was pretty cool that they can determine geography via your teeth. Here are a few articles that might be of interets: here and here.
Wednesday, June 18, 2008
Place...Countries.
I was watching the English Patient the other night. I have to admit, I think it is one of the best movies made...Anyway, you don't search for GIS blogs to here about the writer's favorite movies. I guess I had not seen it since finishing at university, because it never struck me how geographical that movie was. Not in that it was shot in several countries, but in geographical concepts. One of the major themes of the movie is place and identity. Another related theme was with borders, country borders to be specific. I don't think that movie could have been made at any other time than the 90's. Sort of that reshuffling of the deck period between the fall of the Berlin wall and September 11th. The internet and global communication was create a borderless world. The idea of a one world government seemed to have gained momentum. So here you have this movie where the characters defy borders and create their own sense of place, only to have that destroyed by the invasion of ownership of place.
One other part struck me too, was when Juliette Binoche's character is asked if she knows anyone from a dying soldier's hometown. I think it is later in the movie that she questions this action. The desire to see someone from where you come from. This probably interested me more than normal, as I am now living abroad. We just went to a party of Americans living abroad. The only reason for the party was that we were Americans, or spouses and children of Americans. So that was the one connection - you're American. There was even a hierarchical scale to the connection - America --> State --> Close to the same town....It's just funny, because without the concept of place, it's not like we would have ever met or been friends with any of these people, especially in the states. We only had one thing in common. This happened when I traveled too. It's such an easy introduction - WHERE are you from? As if Where defines who you are. I would probably make the argument it does partly define you.
I noticed that Harm de Blij has a new book coming out this winter/summer (july), and I think it will be about this topic. From the product description:
***********************
Forgot the book came out shortly before the movie, but still in the early 90's. Although similar themes between the book and movie exist, I think the movie had a few of its own. Anyway, here are some articles on the book here and here.
One other part struck me too, was when Juliette Binoche's character is asked if she knows anyone from a dying soldier's hometown. I think it is later in the movie that she questions this action. The desire to see someone from where you come from. This probably interested me more than normal, as I am now living abroad. We just went to a party of Americans living abroad. The only reason for the party was that we were Americans, or spouses and children of Americans. So that was the one connection - you're American. There was even a hierarchical scale to the connection - America --> State --> Close to the same town....It's just funny, because without the concept of place, it's not like we would have ever met or been friends with any of these people, especially in the states. We only had one thing in common. This happened when I traveled too. It's such an easy introduction - WHERE are you from? As if Where defines who you are. I would probably make the argument it does partly define you.
I noticed that Harm de Blij has a new book coming out this winter/summer (july), and I think it will be about this topic. From the product description:
"In recent years a spate of books and articles have argued that the world today is so mobile, so interconnected and so integrated that it is, in one prominent assessment, flat. But as Harm de Blij contends in The Power of Place, geography continues to hold billions of people in an unrelenting grip. We are all born into natural and cultural environments that shape what we become, individually and collectively. From our "mother tongue" to our father's faith, from medical risks to natural hazards, where we start our journey has much to do with our destiny, and thus with our chances of overcoming the obstacles in our way."I find it to be interesting, but I can only offer anecdotal experience as my view. I also find Geography in the movies to be interesting. A recent AAG newsletter had a short article about this. I think it was just before the Boston Conference, because all the movies were about/took place in Boston.
***********************
Forgot the book came out shortly before the movie, but still in the early 90's. Although similar themes between the book and movie exist, I think the movie had a few of its own. Anyway, here are some articles on the book here and here.
Sunday, June 15, 2008
Projections!!!
There are so many great new cool projects on the web it is hard to keep up. They probably aren't even new, but I just found out about them. Here is an example. But why, with all the new innovations and ideas do people still create these maps using latitude and longitude? The Social Explorer presents this distorted lat and long thematic map, when they should really be using a projection that preserves area. I know technology like Mapserver, and Sharpmap possess the capability to project into a multitude of projections (I believe using PROJ4).
I see with Google Maps why it is necessary to use Lat and Long, because it just makes it easier for Google if people conform to a standard Latitude and Longitude. Projections or the lack there of can greatly influence people's perceptions of the world. Look at the Mercator projection and Greenland. I think this is related to Dr. Parks' talk as well. She says people don't have an understanding of satellites, but they also don't have any understanding of projections.
I can't tell if Google Earth is a culprit of this as well, because I'm not sure if it uses a Geoid or some other "true" representation of the Earth.
I see with Google Maps why it is necessary to use Lat and Long, because it just makes it easier for Google if people conform to a standard Latitude and Longitude. Projections or the lack there of can greatly influence people's perceptions of the world. Look at the Mercator projection and Greenland. I think this is related to Dr. Parks' talk as well. She says people don't have an understanding of satellites, but they also don't have any understanding of projections.
I can't tell if Google Earth is a culprit of this as well, because I'm not sure if it uses a Geoid or some other "true" representation of the Earth.
Friday, June 13, 2008
Why am I always the last to know?
Apparently the term GIS died...How come I'm always the last to know these things...
:)
And when did GIS just become data and mapping?
:)
And when did GIS just become data and mapping?
Tuesday, June 10, 2008
ArcGIS QuickTip #2
This isn't a quicktip. I've posted a short example on how to use ModelBuilder in ArcGIS to build a more robust tool by adding options to manipulate the Environmental Settings.
http://boxshapedworld.googlepages.com/modelbuildertips
http://boxshapedworld.googlepages.com/modelbuildertips
Labels:
ArcGIS,
ArcObjects Tutorial,
ModelBuilder,
Quick Tip
Monday, June 9, 2008
Camel's 'R' Us
I am working on creating scripts to create weighted linear combination. Basically duplicating different features in Idrisi so that I can have two models, one in ArcGIS and Idrisi. This is for the "Camel Project." I have a script now that calculates the weights for a pairwise matrix. Once I found a little information on this topic it was fairly easy to create. It is mostly just multiplying the matrix until the differences between the weights calculated from each iteration equals zero. Unfortunately, the python script is dependent on NumPy (Numerical Python), so it isn't as self-contained as I would like. I didn't feel like writing a function to multiply matrices, although I did this in VB.NET. I also am able to calculate the consistency ratio. I would share the script, but I because I am getting paid to do it, it is up to the client.
I also have managed to use Raster Calculator to duplicate the Fuzzy tool in IDRISI. It is a duplicate of the Linear function, and there are two ways to calculate it. One for monotonically increasing, and the other for monotonically decreasing. The formula is for 0 to 255.
Con is a map algebra function that means conditional. Con(test, true, false).
Here is how it works for monotonically decreasing:
INT((Con([RasterToBeScaled] <> 900, 0,( ((900 - [RasterToBeScaled]) * 255) / 900) + 0))) + .5)
Con([RasterToBeScaled] <> 900, 0 if the cell value is greater than 900 give this cell a value of 0. If it is false then calculate the value
( ((900 - [RasterToBeScaled]) * 255) / 900) + 0)))
INT and +.5 rounds the values properly and removes the decimal places.
The range of this example is from 0 to 900, so you need to change those values depending on what your "maximum and minimum" values are going to be. You really divide 900 - [RasterToBeScaled] by the range (max - min raster values). Since my range was 0 to 900 I skipped this and put 900.
If you need this to increase then you have to change some of it around.
INT((Con([RasterToBeScaled] <> 900, 255,( (([RasterToBeScaled] - 0) * 255) / 900) + 0))) + .5)
Now, whatever is less than zero is zero and greater than 900 is 255. Everything in between is calculated using the formula:
( (([RasterToBeScaled] - 0) * 255) / 900) + 0))
So now we subtract the cell value by the lowest value in your range and everything else is the same.
This is similar, but not quite what I was looking for.
Hope that helps...
I also have managed to use Raster Calculator to duplicate the Fuzzy tool in IDRISI. It is a duplicate of the Linear function, and there are two ways to calculate it. One for monotonically increasing, and the other for monotonically decreasing. The formula is for 0 to 255.
Con is a map algebra function that means conditional. Con(test, true, false).
Here is how it works for monotonically decreasing:
INT((Con([RasterToBeScaled] <> 900, 0,( ((900 - [RasterToBeScaled]) * 255) / 900) + 0))) + .5)
Con([RasterToBeScaled] <> 900, 0 if the cell value is greater than 900 give this cell a value of 0. If it is false then calculate the value
( ((900 - [RasterToBeScaled]) * 255) / 900) + 0)))
INT and +.5 rounds the values properly and removes the decimal places.
The range of this example is from 0 to 900, so you need to change those values depending on what your "maximum and minimum" values are going to be. You really divide 900 - [RasterToBeScaled] by the range (max - min raster values). Since my range was 0 to 900 I skipped this and put 900.
If you need this to increase then you have to change some of it around.
INT((Con([RasterToBeScaled] <> 900, 255,( (([RasterToBeScaled] - 0) * 255) / 900) + 0))) + .5)
Now, whatever is less than zero is zero and greater than 900 is 255. Everything in between is calculated using the formula:
( (([RasterToBeScaled] - 0) * 255) / 900) + 0))
So now we subtract the cell value by the lowest value in your range and everything else is the same.
This is similar, but not quite what I was looking for.
Hope that helps...
Labels:
ArcGIS,
camel,
Fuzzy,
IDRISI,
monotonically,
Pairwise,
Spatial Analyst
Wednesday, June 4, 2008
Python QuickTip
I'm not much of a Python user. I don't care for the syntax (probably because I don't use it enough). It took me forever to find where I could read the input list from a toolbox in ArcGIS...i.e. a multivalue parameter.
Here is the help file that I found. Look under the Using a multivalue input in a script section.
Another problem I have with Python mostly comes from ArcGIS, which is the only time I ever use Python. Well, most of programming revolves around Spatial Software in some way. Everytime I try and do something with the geoprocessing scripts, I seem to run into a bug. I wrote a script once that exported coverages from all the featureclasses in a workspace. This script stopped to function from the toolbox with service pack 3 (9.2). I think this is working again with service pack 4. Also, apparently the reset method on a lot of the cursors do not work, so forget about reusing a cursor. Seems like every time I need to write a little geoprocessing script I need to try and figure out a workaround because I find another problem. Granted though, I've had some success too.
On a completely different note:
I was also updating my Antivirus and saw that one way to help them was add a link to their site. I use the ClamWin open source antivirus program. I've probably used it for maybe a year, and have been happy with it. It isn't the beast of a software that Norton is. I can only vouch for it on a personal computer, so I don't know how it would work at an "enterprise" level. I haven't had any viruses, but then again, I didn't have any before I installed it either...knock on cyber wood.
Here is the help file that I found. Look under the Using a multivalue input in a script section.
Another problem I have with Python mostly comes from ArcGIS, which is the only time I ever use Python. Well, most of programming revolves around Spatial Software in some way. Everytime I try and do something with the geoprocessing scripts, I seem to run into a bug. I wrote a script once that exported coverages from all the featureclasses in a workspace. This script stopped to function from the toolbox with service pack 3 (9.2). I think this is working again with service pack 4. Also, apparently the reset method on a lot of the cursors do not work, so forget about reusing a cursor. Seems like every time I need to write a little geoprocessing script I need to try and figure out a workaround because I find another problem. Granted though, I've had some success too.
On a completely different note:
I was also updating my Antivirus and saw that one way to help them was add a link to their site. I use the ClamWin open source antivirus program. I've probably used it for maybe a year, and have been happy with it. It isn't the beast of a software that Norton is. I can only vouch for it on a personal computer, so I don't know how it would work at an "enterprise" level. I haven't had any viruses, but then again, I didn't have any before I installed it either...knock on cyber wood.
Labels:
ArcGIS,
Clamwin,
Multivalue,
Python,
Quick Tip
Subscribe to:
Posts (Atom)
