Dear ACS, if you are killed off, I will miss you…

Since it is widely regarded that killing the American Community Survey is a bad idea it would make complete sense that portions of the Senate still want to end it.  The main arguments against the ACS are that it is expensive, intrudes on privacy and is “unconstitutional”, whereas the benefits (which in my opinion far outweigh any of the negatives)  generally go along the lines of better data equals better decision making.

I wanted to write a full post about the dangers of ending ACS from the point of view of a geographer, but I became very frustrated reading the stories about why it should be ended that I just deleted everything I had except the first paragraph you just read.  However, I do think it is important to at least give my opinion as a geographer and someone who values good, unbiased data:

Without current and quality spatial data you won’t know where you are or where you are going…

In a world where big data and quantitative analytics are essential to data-driven decision making the loss of the ACS could send shock waves through the business, academic, non-profit, and government worlds.

Now, I am going to volunteer some personal information, tag my location, and post some pictures to Facebook.  Now, there is a data collector I can trust!

 

Note: It is reported that the White House will veto this if passed.

Open Job – Senior Software Engineer – GIS / SQL Spatial Application / C# – Boston, MA

AIR Worldwide, based in the Back Bay section of Boston, Massachusetts is advertising an open position for a GIS/SQL spatial software engineer.  The position requires 3-5 years experience in software development and strong base of GIS and GIScience skills.  AIR develops natural catastrophe modeling software (a lot of spatial analysis) that is used by a variety of insurance companies, financial institutions and governments to help them understand their risk from natural catastrophes.

Are you a developer with some serious GIS chops, or a GIS pro with some serious programming chops?  Looking for a job in Boston?  Would you like to work with a scientists, engineers, programmers, analysts and others on  a variety of interesting projects? Then I would recommend you check this job out!

FYI, this is a shameless plug

OSMapping my Alma Mater

One of my New Year’s resolutions was to contribute to OpenStreetMap more often.  I started out 2012 by mapping my hometown, as the city I currently live in already has  very good coverage.  My next mapping challenge was to map my undergraduate Alma mater, Keene State College in beautiful Keene, New Hampshire.  When I started the mapping project I was surprised about the lack of mapping data contributed for the college and city!

With essentially a blank sheet I used JOSM to digitize (what geographers call tracing) the pathways, parking lots, and athletic fields using the Bing Imagery as a reference layer, while adding a few placemarkers throughout the campus, and finally altering the existing road vector attributes to correctly reflect what was on the ground.  These low-hanging fruits quickly spruced up the map:

The next step was the hardest (not that it was mentally challenging, just that it involved several steps).  I wanted to add all the buildings on campus to the map so the services that now rely on OpenStreetMap had the most accurate representation of the campus as possible.  Anyone who has ever been apart of a digitization project knows that creating a somewhat planimetric building layer can be a tedious task.  Basically, I didn’t want to digitize all the buildings, so I went searching for a layer with the buildings already digitized for me.  After searching the KSC website (and source code) I extracted the geojson layer from KSC’s campus map.  I then opened the geojson layer into Quantum GIS and exported the data to a shapefile.  From this point I converted the shapefile into the OSM format using Merkaator and completed the editing using JOSM.  (Side note:  If anyone knows if it is possible to import a shapefile into JOSM let me know!)  With the buildings now available in an OSM format I could edit the data through JOSM.

After a couple hours of tweaking the original building footprints (including moving the footprints to the rooftop outline, not the oblique outline) and editing some other features I wrapped-up my mapping session with the latest version of KSC’s OSM contribution:

I think most will agree that a couple hours contributing and editing data can drastically improve any part of OpenStreetMap, but there is a larger message here for higher-ed GIS and geo-educators.  Having students in GIS and geo-classes contribute to a campus’ OpenStreetMap can be a great educational tool.  I graduated from KSC eight years ago.  How come a geo-savy student or geo-class didn’t do this over the course of the past few years?!?!

There are plenty of schools that have excellent data in OpenStreetMap (Example 1,Example 2, Example 3, Example 4, Example 5), but there are just as many schools (that have geography departments or GIS programs!) whose OpenStreetMap campus map could be improved very easily (Example 1, Example 2, Example 3, Example 4, Example 5)!

If you are a higher-ed geo-educator check out your campus’ OpenStreetMap and get your students to contribute.  They’ll learn about GIS, VGI, and open source while your campus map, and potentially community map, improves!  Everyone wins!

Next, maybe I’ll map my graduate school Alma mater so I can take it off the bad examples list!

 

Today’s Project – Installing PostGIS 2.0

I took today off from work to catch up on a couple things, including installing Postgres 9.1 and PostGIS 2.0 on my home machine.  Lately, I’ve been neglecting how I manage my geo-data on my home machine for my personal projects and I told myself it was time for an upgrade. The recent release of PostGIS 2.0 was good motivation for this project as well!

I was planning a couple hours from start to finish for this project, and did I over estimate the time it would take!  After I downloaded, installed and configured Postgres 9.1 for a 64 bit Windows machine and ran the StackBuilder to install PostGIS 2, I had everything configured within a hour (and that includes me watching several random YouTube videos!).

I then used the handy shapefile loader to batch load a few global datasets and voila, PostGIS 2.0 data in Quantum:

It has been a really good year for the OpenGIS community so far, and the release of PostGIS 2 should really keep the momentum going.  I haven’t been a Postgres or PostGIS power user for a couple years now, but I hope to get back on track soon, exploring all the new features of PostGIS 2.0.

We should be very thankful to the community of developers who create and maintain these amazing tools and applications, who then give them away for free!  If you are a GIS aficionado and you don’t have PostGIS, Quantum, TileMill or any other open source GIS tools go and install a couple of them and test them out.

Goodbye MSRMaps or TerraServer, or whatever else you called it.

For many years Microsoft provided a WMS that included USGS topos and US aerial photography.  Popularly known as TerraServer (or Microsoft Research Maps -MSRMaps), the service no longer exists as of 5/1/2012, meaning that the Google Maps mash-up I created using the data no longer work.  For more info on TerraServer’s death check out the post on Directions Magazine’s All Points blog.

No worries from my end, as the use of that pages was nearly non-existent!  People are way more interested in my OpenLayers Google Mash-Up :).  I’ll update my links accordingly, again, not that it matters because people weren’t interested in Microsoft’s WMS service.  Thankfully today there are many, many more options for streaming high quality basemap data through web mapping applications.

My ArcGIS 10.1 Wishlist

ArcGIS 10.1 will be released soon and according to Esri, ArcGIS 10.1 will be the company’s biggest release ever.  Plenty has been published by Esri about the 10.1 release, including an overview of  10.1 from the Resource Centera number of videos from the 2012 FedCon and a 10.1 “What’s Coming” site.  From what I have read and seen I am looking forward to a number of improvements including those for spatial analytics,  saying goodbye to ArcSOC and ArcSOM, improved database management functionality (which there looks to be a lot of), and generating buttons with ArcPy scripts.

However, if you have visited this blog before you have probably have seen this post or this post and have read the comments about user experiences with previous versions of ArcGIS.  I’m sure these users have many items they would like to see in the next release of ArcGIS and in their spirit here is my ArcGIS 10.1 wishlist.

My Unsolicited ArcGIS 10.1 wishlist!

64 bit ArcMap:  It’s not going to happen with this release, although ArcGIS Server will be.  However, I can still dream about lighting fast geoprocessing until then.

Provide a Consistent Product: One of the biggest items on my 10.1 wishlist is software consistency.  Too often users encounter geoprocessing errors, screens of spatial death, or the map refresh freeze.  Problems like this become major choke points when using the software when it is a critical component of a business process.

Simplify the Product:  I believe this is where the competition is killing Esri.  Look at Quantum, MapBox, OSM, or SpatiaLite.  Simply and elegant products with big time returns.  I know that many, from the once a week user to all-day-every-day user believe that ArcGIS is too big.  I consider myself a power user and I probably only use 20 to 30 percent of the product.  If Esri could produce a lightweight, stripped down version that still gets the job done (and is bug free!) I think the user base would be very, very happy.

Improve the Map Draw/Refresh in ArcMap: Am I the only person who is not a fan of the way ArcMap draws and refreshes the map?  Have you ever waited and waited watching a map load on screen?  I find it frustraing that I can visualize vast numbers of points faster in an html5 application than I can on-screen in ArcMap.  Now, this may only be me, but I would love if someday Esri could improve the map draw/refresh rate within their product.  Esri has had the best mapping tools in the game for a long time and improving the draw/refresh rate would make the already strong set of cartographic tools even better.

Get Rid of ArcCatalog: Since ArcGIS 10 I have probably used ArcCatalog 10 percent as much as I did during the ArcGIS 9.X days.  The major components of what I need are now embedded in ArcMap, which is great.  Roll the rest of the functionality into ArcMap and send ArcCatalog out to pasture where it can go hang out with ArcView 3.x.

No More 999999 Errors:  There are too many general errors that occur on a regular basis.  From the comments in this post I know this happens to others as well.  If geoprocessing tools have limits to them let the user know what those limits are so they can work around it.  I run a very clean analysis machine, I don’t run third party extension (I write my own code)  and I get unexplained 999999 errors running mundane and simple tasks.  Tell me what I am doing wrong!

If Esri could make my wishlist come true I think their user base would be very, very, very happy.  I know that this wishlist is a little late for 10.1, but Esri developers and product teams are free to wrap all these suggestions into 10.2 (thanks!).  Now when will I be installing 10.1?  Probably sometime after the first service pack is released (September, October, November?).

On that note, what would you, the user, like to see in 10.1?  What would be on your wishlist?

Disclaimer: I’m not a beta tester for ArcGIS 10.1, as I am too busy using the current version to test the next version.  What I know about ArcGIS 10.1 comes from what I have seen on the interwebs.

Geospatial Topology, the Basics

The concept of topology isn’t something that every spatially enabled person fully understands.  That is OK, because I too had to learn (and relearn) how spatial topology works over the years, especially early on back in the ArcView 3.X days.  I think this experience is fairly typical of someone who uses GIS.  If one is taking a GIS course or a course that uses GIS it is not very often that the concept of spatial topology is covered in-depth or at all.  Spatial topology also may not be something that people are overly concerned about during their day-to-day workflow, meaning they may let their geospatial topology skills slide from time to time.  As a public service here is a basic overview of geospatial topology.

First question: What is topology?

You have probably heard the term topology before, whether it was in a GIS course where the instruction lightly glazed over the topic, or in a geometry/mathematics course.

Technically speaking, topology is a field of mathematics/geometry/graph theory, that studies how the properties of a shape remain under a number of different transformations, like bending, stretching, or twisting.   The field of topology is well established within mathematics and far more complicated than I wish to get in this post.

Second question: How does topology relate to GIS and spatial analysis?

Spatial analysis is at its core an analysis of shapes in space.  Geospatial topology is used to determine and preserve the relationships between shapes in the vector data model.

The GIS software we use for analysis and data storage incorporates a set of “topological rules” to define how vector objects are stored and how they can interact with each other.  These rules can dictate how nodes interact within a network, how the edges or faces of polygons coexist, or how points are organized across space.

Back in the “olden-days” (which was before “my time”) GIS users, particularly ArcInfo users, were well versed in geospatial topology because of the coverage.  The coverage data model, a precursor to today’s ubiquitous shapefile format, was unique in that topology was stored within the file.  This data format allowed users a certain set of controls to the spatial relationships within the dataset that later went away with the shapefile.  The shapefile is not a topologically valid dataset, as geometric relationships are not enforced.  For example, how may of you have downloaded (or bought) a shapefile from a data provider and it was FULL of slivers? In the Esri world geospatial topology came back with the geodatabase, and has been incorporated into a number of other geospatial data formats including spatial databases supported by Oracle, PostGIS (2.0) and SpatiaLite.

Today, topology is important in geodatabase design (for those who pay attention to it!), and data creation/editing.  By understanding the set of geospatial topology rules and creating topologically sound data, the user can have a level of trust in their data during analysis.

 Additional Resources:

Esri white paper on GIS topology 

PostGIS Topology

PostGIS 2.0 Topology Support

Oracle Topology Data Model

Vector topology in GRASS

Esri Coverage Topology

Esri Geodatabase Topology

Real topology

Vector topology cleaning with Quantum and GRASS – youtube vid

Google Maps April Fools’!

Google is pretty well know for their April Fools’ Day jokes, and today we are treated to another one, albeit on March 30th (maybe that’s a part of the joke too):

Google Maps 8bit for NES

Here is a quick screen grab of Boston…

google_8bit

Zooming in a little bit a couple landmarks are displayed.  I like the how MIT and the approximate location of the Google offices in Kendall Square are highlighted in Cambridge.

google_8bit_zoom

The best part, even StreetView is NES ready!  Sweet…

streetView_8bit

Good job Google.  This is pretty cool.  For next year, how about you flip your maps “upside down” for the day.

Get to Google Maps now and check this out before it is too late!

p.s. I love April Fools’ Day.

Blogs for Wannabe GIS Programmers (like me)

Anyone who knows me and works with me on a regular basis knows that I am not a developer.  I am a geographer who develops code for visualization and analysis applications that will hopefully work.  In our line of work knowing how to write and understand code is critical and on my quest to become a better programmer I am continuously searching for the next resource to add to my collection of how-to guides and programming resources.  Some of my favorite resources are spatially focused programming blogs.  Usually the bloggers are facing the same problems I am dealing with and they are using jargon that I understand.  These two factors make it much easier to follow their examples and ideas.

Here are three blogs (from people who know what they are doing) that I follow (do people still follow blogs, or is that so 2007?) and have referenced in my quest to improve my marginal programming skills(clear overuse of () in a sentence).  Check these blogs out when you get the chance:

GeoChalkboard – A number of Esri javascripting posts, which is great for me, since I am doing a lot of that type of work lately.  Also, professional courses are made available through the site.

Guerilla GIS – I’ve referenced this blog before, mostly because I like two things about it.  The variety of code examples and the GIS snark.

odoenet – A number of GIS programming examples, along with a number of tips a tricks.  For those of you new to GIS programming  should check out the two blog posts about simplifying GIS development in ArcGIS.  Not a bad read.  Also, this post is very true.

I know there are many more blogs like this out on the interwebs.  If you know of one or have a favorite spatial programming resource post it in the comments section!