Merry Christmas 2013

As 2013 nears it’s end, I wanted to wish everyone a Merry Christmas and Happy New Year before I go on vacation!  For your viewing pleasure I included this cool 1950’s Christmas map which shows Santa Claus visiting places all over the world.

santa_map

Enjoy!  -mike (Michael Carson, GIS Manager, City of Burbank)

PS – Let me know if you want to host our next SoCalGIS meeting in the new year.  Just contact me at mcarson@burbankca.gov .

Intro to GIS Software class in Ventura

Intro to GIS Software (GEOG V26) class starts January 6th  

Ventura College’s Introduction to GIS Software (GEOG V26) class starts January 6th. This Monday/Wednesday class is 8-weeks long and meets from 7:00-8:50. This course provides a good entry point to those interested in GIS and also provides hands-on skills with ESRI’s ArcGIS 10.2. This course can also fill in gaps for those with some exposure to/experience with GIS.

A follow-up GIS Projects class, GEOG V28 starts right after GEOG 26. You can register for both if you are interested in developing your skills further.

For more information visit the Ventura College GIS page: http://academic.venturacollege.edu/spalladino/geosci/GIS.html

To enroll visit the Ventura College web site: http://www.venturacollege.edu/

Contact Steve Palladino, GIS Program director, spalladino@vcccd.edu for more information.

The Principal Meridian Project

In 1785 Congress enacted a law stating that the land in the new States were to be surveyed by a grid system consisting of townships 6 miles square and the said townships were to start at a principal meridian and its base line. These initial points were established as needed across the country.

On November 7th, 1852, Colonel Henry Washington, Deputy Surveyor under contract with the United States Surveyor General of California, completed a four day hike with 12 men to a point he designated and monumented to be the Initial Point for the San Bernardino Pincipal Meridian. Nestled at an elevation of 10,300 feet just west of what is now known as Mount San Bernardino, this Initial Point is both the highest and hardest to reach in the entire country. According to surveyor C. Albert White, it is also the only one that has not been altered over time by man. And, to add to its mystique, this point has one other unusual characteristic feature that makes it more unique – it is not alone.

The Principal Meridian Project was started by a group of people devoted to identifying all the base line markers in the country. The group finds the search for meridian markers as interesting as geographers do.  Click on the map below to visit their page and learn more about our Initial Point (or points!) in the San Bernardino Mountains.

Labeling the Third Word

This is a continuation of my previous post about using the Field Calculator to calc a field to a word position in another field. My whole purpose of the exercise was to use the new field for labeling. But then I thought why create yet another field when you can use what you already have and do the same thing in a labeling expression? So …

labeling1

I really don’t want the text “Census Tract” in my labels, just the tract numbers. Using Python in a labeling expression should do the trick. First I open the properties of my census tract layer in ArcMap 10.1, click on the Labels tab, and next to my Label Field, click on the Expression button.

labeling2

Note in the Label Expression window that my current expression is just the field name NAMELSAD10. What I want to do is strip out the “Census Tract” text that all the records have and just label with the tract name, which is the thrid word in the field’s value. So using the .split() function, similar to my previous post, I build the following expression using the Python parser (make sure to check the Advanced box to use multiple lines of code in your expression):

labeling3

So what is going on here? When you use multiple lines of Python code, you are required to use a function called FindLabel. This function is used by ArcMap to label your features after the code is run. When you click on the Advanced box in the menu, the fucntion is setup for you in it’s basic form, which is just labeling the feature with the value in the selected field. I added code between the first line and the last line that sets a variable named L to the Python code that takes the value in the NAMELSAD10 field, splits out the words, and extracts the third word. Remember in Python position 0 would be the first word and position 2 would be the third word. Also note that I modified the last line with return, using L instead of the field name. The function will return the value of L, which will be set to the thrid word that I want, which would be the tract number. Press the OK button and you will see the result.

labeling4

Just like before, but without having to create a new field!

Most coders like to code with as few lines as possible. You could do the same thing by removing the second line setting the L variable, and just manipulate the field value on the return line like so:

labeling5

Here you cut out the middle man, or cut out setting the L variable, and just executed the .split() function on the return line. Easy and efficient!

Let’s back up a bit. What if I did want the “Census Tract” text in my label, but I wanted each word stacked? That can be done by doing this:

labeling6

I set three variables, one for each word, then set the final L variable for the labeling. The ‘\n’ represents a new line character, or for us humans a carriage return to start a new line.  Using this Python expression results in the following labels:

labeling7

Now that you know a few of these tricks, you can start doing some fancy labeling of your own data! -mike

2013 GIS Salary Survey

GeoSearch.com is conducting their annual GIS Salary Survey. If you participate you can also choose to receive a copy when the survey is done. You currently need an email from GeoSearch.com to take the survey.  Contact rich@geosearch.com to receive an invite to the survey.

To take it anonymously (and no free copy of the results), use this link:
http://survey.constantcontact.com/survey/a07e8n8vpnkhozxlxad/start

Please note this is an organizational survey, not an individual survey.