NC Amendment One – Shades of Gray

Following the primary election and vote on amendment one in North Carolina, I saw a huge number of hastily created maps passed around online depicting the counties for or against amendment one. These maps however, failed to tell a very complete story. The picture was painted very black and white. Either a county was for or against.

Yes, this was the way the votes were tallied. True, it very much was a pass or fail issue. Still, I wanted to understand the distribution better. News outlets discussed age and party affiliation being factors, so I found the data pertaining to this as well.

With all this compiled I created a map depicting the shades of gray existing between what had been presented as a completely black and white issue. This map is shown below. Further, if you click on any of the counties, a popup displays metrics including median age and voter turnout. Two pie graphs are also included in the popup, one depicting the ratio between those for and against the amendment and another depicting the party affiliation in the county. Continue reading

Chrome poised to overtake IE

Although I recall reading about it a few months ago, it was interesting this morning to see the actual data this morning depicting when Chrome overtook Firefox as the second most popular browser on GlobalStats. This however is not the most interesting part of this graph. The most interesting part is how Chrome has steadily continued to grow and if trends continue, how Chrome will overtake Internet Explorer as the most popular browser as early as next May or June of this year.

Specify Editor for Python Scripts in ArcGIS for Desktop

Python, it is extremely useful for streamlining workflows and SOP for a multitude of tasks. This is particularly true for geoprocessing in ArcGIS. True, ModelBuilder can be used. More often than not, I find myself starting in ModelBuilder and finishing in Python simply because of the ability to have more control over processes and the ease of using iteration.

ArcGIS for Desktop 10 introduced the option to embed scripts into tools. Once embedded, editing is as simple as right clicking on the script in a toolbox and selecting edit. The default Python IDE, IDLE would open and from there the script could be edited.

After installing ArcGIS for Desktop 10.1 Prerelease, I discovered when choosing to edit an embedded script, the script opened in Notepad. This was not acceptable. Fortunately setting the editor is an easy change. Continue reading

An IDE with code assist for the ArcGIS JavaScript API

For a multitude of reasons, I want to figure out how to work with the ArcGIS JavaScript API.  It has to do with mobile devices, lack of need for plugins and mostly because this is the direction the web is going long term. After all, HTML5 really is just a combination of html, CSS and JavaScript. Granted there are a few other goodies thrown in, but by and large, HTML5 is little more than an extension of these existing technologies. For these reasons, I want to learn to build web mapping applications using what is going to be the future.

Once deciding on this, another vexing conundrum presents itself. Unlike Flash and Sliverlight, which Esri has web mapping API’s for as well, there is not just a single integrated development environment (IDE) with code assist built in. Adobe distributes the Flash Builder IDE and it has some great code assist built in. Microsoft’s Visual Studio provides outstanding code assist for developing Silverlight.

The best IDE to use for JavaScript? Simply typing JavaScript IDE into Google brings up a flood of blog postings arguing this exact topic. The first hit however, above all these blog postings, is a direct link to Aptana Studio. Cross referencing to the ArcGIS Resource Center, I managed to unearth a help document with rather simple directions for using the ArcGIS JavaScript API with various editors. Continue reading

Use ArcGIS.com to Create Custom JavaScript Web Applications

Esri has released web application builders for both Flash and Silverlight. However, for those wishing to stay away from these plugin dependent solutions, at first glance, it may appear there is little other option than starting from scratch and building an web application from scratch. Fortunately this is not the case. There are some great templates available on ArcGIS.com. Using these templates you can create a JavaScript web mapping application in a very similar way to the Flash and Silverlight builders.

Today I created a custom JavaScript web mapping application depicting piracy trends in the Arabian Sea without writing a single line of code. To create the same type of map, all you have to do is create three maps on ArcGIS.com, save them in your profile and use one as a starting point to create an application. Continue reading

Create List of Unique Table Values using Python for ArcGIS Analysis

Necessity is the mother of invention and as of late, this means I have learned to use Python with ArcGIS. Early on, an issue I ran across was needing a list of all unique values in a field to be used in further analysis. Unfortunately there is not a pre-built method for this. Still, it did not take long to figure out the following function to accomplish this. Continue reading

Iranian Ballistic Missile Range

Being a GIS geek, when reading the New York Times and The Economist on my iPad, current events in the Middle East always get me to thinking about how the geography all fits together. During the last few weeks and especially the last few days, tensions with Iran are at an all time high. Out of curiosity, I decided to further investigate using the toys at work, primarily ArcGIS 10 for Desktop, specifically the Multiple Ring Buffer geoprocessing tool.

To perform this analysis, first I need to establish what I am interested in, then find the data, prepare the data, analyze the data and finally output the results. The first part is easy, I know what I want to investigate. What areas are affected by the capabilities of Iran’s missile program? Continue reading

Knobby Tires and Irish Fury…Tasty!

While in the Navy, a friend introduced me to his mother as, “The guy who drives it like he stole it.” Not much has changed in the eight years since then, at least regarding my driving. Trying to squeeze in a mountain bike ride during lunch only further encourages me to use what this same friend referred to as, “time management,” behind the wheel. Yesterday I pulled into the mountain bike trailhead about 15 minutes from work with little time to spare. I had a meeting scheduled for right after the ride. Continue reading

Galería de fotos de la Griswolds en la República Dominicana para la Navidad

Gina and I decided it would be a good idea to get a few people together we were more or less related to and head to the Dominican Republic for the better part of two weeks instead of staying in the US for a commercialized Christmas. These people included Gina and myself, Gina’s brother and sister-in-law, Gina’s parents, the sister-in-law’s parents and finally my parents.

Keep in mind, this was the first time my parents have ever been out of the country before. For those of you who know my parents, you can easily imagine there were most definitely some interesting and entertaining moments.

The last tally was one dislocated shoulder, three broken toes, a day long case of montezuma’s revenge and one case of bronchitis. The trip was considered a complete success by all.

After the break are some of the pictures I took on the trip. These are much smaller than the originals. Please let me know if you are interested in full size photos of these. Also, this is just a start. I am slowly getting though all the photos from the trip, cleaning them up and picking my favorites to share. Please check back as I keep adding more. Continue reading