Page 164 of 170

Finding geographic information about Chicago and elsewhere

The City of Chicago’s GIS division of the Department of Information and Technology as well as the Zoning Department provide copious data on boundaries, crime, zoning, etc… And I’m not talking about a library of PDF files. You can’t analyze or manipulate or calculate using PDF – I’m talking about data sets, shapefiles, or aerial photographs.

You can start here on the GIS website.

 The Chicago Police produce the CLEARMAP website. And even the Bicycle Program throws down with bikeways and bike parking data. Check out Wicker Park’s Center for Neighborhood Technology and its urban data visualization websites, like their Housing and Transportation Affordability Index.

List sources for your city’s data in the comments. Milwaukee has its own Spatial Decision Support System called COMPASS. Here’s Maricopa County’s (Phoenix, Mesa, Tempe) ArcServer-based online GIS website.

Check to see if EveryBlock has started data mining your city. They began their news collection and repackaging efforts in Chicago, naturally 🙂 They are the first organization to find a new way to present Chicago’s bike rack installation info.

UPDATE: The community at OpenStreetMap has a huge list of datasets available for cities and places around the world.

Geocoding in Quantum GIS – QGIS

Geocoding is the process of turning street addresses into geographic coordinates. You can geocode easily in QGIS using several methods.

If you just want to geocode and you don’t need to see the addresses plotted on a map in QGIS, then follow these instructions. If you don’t need to see them on a map nor do you need the geographic coordinates, then use BatchGeocode.

If you only need to geocode a single address and get its coordinates immediately, use geocoder.us.

An example geocoded address on the map using the “single address” method.

How to geocode multiple addresses in QGIS

UPDATE April 11, 2013: Updated the directions because the “Add delimited text layer” function moved from the Plugins to Layer menu. 

UPDATE March 24, 2011: I updated the directions to use GPS Visualizer instead of BatchGeocode.com because BG stopped giving geographic coordinates in its output.

Get directions on geocoding a single address in QGIS with a plugin.

QGIS is an open-source Geographic Information Systems (GIS) application that has been gaining ground since 2004. It runs on all operating systems (it began as a Linux project) and you can download it for free.

I use it often because ESRI doesn’t make the popular ArcGIS software for Mac. That’s unfortunate, but like I said here, software, technology and mapping issues can be easily overcome – we can use QGIS to create maps. QGIS, though, is missing one major feature for basic map building: geocoding.

Here’s a step-by-step tutorial on how to bring in multiple street addresses and their XY coordinates into your QGIS map en masse: Continue reading

GIS and mapping tools

Some of the work I do for school and my job requires that I make maps. I’ve never taken a class on how to make maps or analyze data sets featured in maps (what GIS does), so I learn as I go.

There’s no one around me I can call upon when I have questions that need immediate answers. Well, there’s me! Because of this, I must quickly find a solution or workaround myself.

Today I had to import a list of Chicago Transit Authority and Metra rail stations into ArcGIS so I could plot them on a map that also showed Chicago’s boundary and our bikeways. I could do this in Google Earth, but then I would have less control over the printed map I wanted to make, or the image output. ArcGIS has a built-in geocoder and I learned how to use it six months ago, but a skill not practiced is lost – and I forgot how to do it.

That’s okay – what follows is how I overcame this barrier:

Because I know how to use PHP to instantly create Keyhole Markup Language (KML) files (the format which Google Earth and Maps speaks fluently). Then, with this user-contributed KML to SHP plugin for ArcGIS, I was able to convert my KML files to Shapefiles and display them on my map. Unfortunately, my custom “fancy” icons were lost in the translation. Supposedly this alternate user-contributed script does the same thing.

Other tools I used to get my map created:

  • BatchGeocode.com – This site is indispensable for turning a list of addresses (with names, descriptions, and URLs) into the same list but with latitude and longitude coordinates! It will even create a KML file for you.
  • KML Generator (PHP class) – This class allows you to quickly and easily create KML files from any array and array source of coordinates. I store the transit stations in a database and run a query on the database and loop through them to generate the points in a KML file.

I’d like to thank James Fee’s GIS Blog for the links to the ArcGIS scripts/plugins I used in my project. To everyone else who must confront software, technology and mapping roadblocks, there’s almost always a solution for you.

Read about how I got around QGIS’s lack of geocoding.

Bike shops’ social responsibility

Bike shops have a responsibility to teach their customers safe cycling.

This is because the bike shop salesperson has the customer’s attention, and it’s when the customer will be most receptive to tips, advice, and training. The bike shop salesperson, in many cases, will be the first and last person the customer talks to about biking. Lastly, it’s because the bike shop is a community center with a wealth of knowledge and experience – all of which should be shared.

The customer’s family is probably not a good resource and websites and friends can only teach them so much. But a bike shop salesperson has two advantages over other friends, family, and the internet: the customer’s time and trust.

Each bike shop should take it upon themselves to teach each new customer how to ride safely and legally on the street, the local laws regarding its operating and accessories (buy some lights, please!), etiquette for multi-use paths (like Chicago’s Lakefront Trail), and proper locking techniques.

  1. All bikers will, at some point, have to ride on the street in mixed traffic.
  2. It’s unreasonable to expect cyclists to know the laws applicable to cycling when they’ve had very little experience cycling and when there are no widespread institutions that teach cycling.
  3. Multi-use paths are fountains of rage and dangerous commingling. 
  4. The cyclist will be in a situation that requires them to secure their bicycle.

No matter how adamant the customer is that they won’t be riding in the street, they will. The sidewalk is illegal territory in so many communities, and isn’t safe for the cyclist themselves or the pedestrians they might run over. On sidewalks or on multi-use paths, they will have to cross streets with automobile traffic. It’s a little different than being a pedestrian and crossing these streets because you are operating relatively heavy equipment and you move at a different speed. Eventually, this cyclist will graduate from scaredy-cat to coffeehouse comfortable, biking to a café down the street. Talking one on one about these things, using diagrams from a brochure will influence the new cyclist that safe cycling matters – for themselves and those with whom they’ll interact. Then show them how to read a map.

Bicycle laws are not handed to 16-year olds in high school (actually, they most likely are, but who reads that?). That might have been 10 years ago, and they won’t remember that a front headlight but only a rear reflector are required for post-dusk riding. Or that red lights are for all street users (and really dangerous to disobey). Don’t forget that some bicyclists were taught to ride against traffic, facing cars down on the wrong side of the street.

Those customers who might be telling the shop salesperson that they won’t be riding in the street probably think they’re only going to ride on the multi-use path. These customers need trail etiquette stressed to them. They need to know when it’s safe to pass, what to say to those they’ll pass, the right speed to travel, and when to stop or slow down. The trail is not a speeding zone; rollerbladers, children, strollermoms, teams in training, walkers, and in some places even horses and their riders, will all be groups with whom the cyclist must interact and take care of – this mix is fun to watch and be around, but path users must pay attention to each other. 

Real locking techniques may be one of the most useful things you can teach any cyclist. They won’t be cyclists if they can’t keep their bike! The City of Chicago offers a guide on theft prevention and proper locking, two unique but related concepts. You shouldn’t do one without the other, because they enhance the overall “theft-proof-ness” of a bike. The salesperson can spend five minutes demonstrating to the customer cross-locking, and then having the customer practice. They can also quiz the customer on appropriate locking locations. What structures are secure and which ones aren’t? Why or why not?

Preface this lesson to the customer that “in 20 minutes, you can become a bicycling expert!” The bike shop-customer bond will strengthen and you’ll have proved to them your service is necessary and appreciable. Because you took the time to show a customer how much you care about them, their new bike, and the sport or utility of bicycling, they’ll spread the word and come back.