Like any good website owner and author, I track statistics (or analytics as people like to call them now). The most important information the reports tell me is how people found my site: either through keyword searches, or links from related webpages.
Recently, a visitor came across my site because of a search for “amtrak routes gis.” I suspect they were looking for shapefiles they could load into Geographic Information System software containing Amtrak routes and stations. My blog showed up on the second results page in Google and they came to my post, “Why Amtrak’s not on time,” about the factors that influence the passenger rail company’s timeliness. The page doesn’t have what the visitor wants.
I decided to update my page, “Find urban data,” to aid future visitors. Also, if one person is looking for this information, it’s likely that others want it, too. I found the information, “amtrak routes gis,” in two places and in two formats.
First, the United States Department of Transportation’s Bureau of Transportation Statistics publishes national data in the “National Transportation Atlas.” You can find a shapefile with Amtrak stations. For Amtrak routes you must download the railway network shapefiles and then filter the information for the attributes that describe Amtrak.
The second source is an interactive KML file (more about KML) that you can load into Google Earth, view in Google Maps, or manipulate in another KML-compatible application.
The KML file is an important format in which to share locational data. KML was developed by a company called Keyhole, which Google purchased in 2004, and subsequently released Keyhole’s flagship product: Earth.
A Keyhole Markup Language file is a way to display on a map (particularly a 3D globe of Earth) a collection of points with a defined style. Google has added more functionality and style to the KML format, expanding the styles that can be applied and the information that can be embedded.
KML, like XML (eXtensible Markup Language), is extremely web-friendly. For a web application at work I developed, I included this PHP class that creates an KML file on-demand based on a predefined database query. The file contains locations and attributes of recently installed bike racks in Chicago. EveryBlock imports the file and its information into their location-based service, aggregating many news types around your block.
But a KML file is more important than being the native file for use within Google Earth. It’s an open source text file that can be manipulated by a number of software programs on any computer system on earth (or read on a printed page). It’s not encoded, like shapefiles, so I can read the file with my own mind and understand the data it would present in a compatible map viewer. I see lines of organized syntax describing points and polygons, listing their attributes in plain language.
Have you ever tried to see the “inside” of a shapefile? Only GIS programs can read them for you. KML provides data producers and consumers the opportunities to keep data open, available, and easy to use. We need locational data for our work, and we need tools to help us use it, not hide it.
Soon after the Senate signed off yesterday on a $150 billion package of tax extenders and unemployment benefits that was promoted as a job-creation measure -- a bill that lacked dedicated new funding for transportation -- Democrats on the House education and labor committee were releasing their own jobs legislation. The House proposal [...] […]
You might have seen it making the rounds over the last couple of days -- the new Mercedes ad in which a bike messenger challenges a driver in one of the company's luxury vehicles to a race from Harlem to the Fulton Ferry landing in Brooklyn. There are many irritating things about [...] […]
A collection of assignments I turned in to professors at UIC.
CTA bus operators should not strike
The assignment: Attached is a press clip from the Chicago Sun-Times on November 5, 2009, with the headline, "Bus driver strike over layoffs an 'option'." Also attached is an arbitrators ruling establishing the provisions of the current contract. Do you think the CTA unions should strike over the issue of ...