tutorial

What not to map in OpenStreetMap

rweait's picture

We love to map. We love to provide correct, complete, comprehensive data for the OpenStreetMap® data base, and for the millions of consumers of that data, around the World.

And I'm walking around the neighbourhood, minding my own business1, when I pass the intersection of Waters and Stanley. Just a normal day, Wait. What?

I see these new street signs. Time to improve OpenStreetMap, right?

Wrong.

I'm not mapping this

"Waters and Stanley"? That's not this intersection. Those aren't Toronto, municipal street signs!

Courtyards! Multipolygon Relations in OpenStreetMap

rweait's picture

A Courtyard is a building with a hole in it.

Or rather, it is the portion of the building that is constructed without a roof. This may combine the shelter and safety from the surroundings provided by the building walls, with the benefits of natural light and a clear view of the sky. What could be more romantic than a candlelit dinner with your favourite person, under the stars, in the courtyard?

But wait! Trouble in paradise. My building with a courtyard just looks like an ordinary building in OpenStreetMap! How do I fix that?

Advanced GPS voodoo with Ubuntu

rweait's picture

Several Garmin GPSes work well with Ubuntu as a mass USB storage device. Navigating the menu to enable the mass USB device can be a bit of a headache. Here is an alternative that takes less fumbling with the joyclick on the Garmin and that does a better job of grabbing the data.

Better maps for your GPS

rweait's picture

Do you want a better map for your GPS? You can use a map from OpenStreetMap on your Garmin GPS depending on the model of your device. You'll find several devices listed on the OpenStreetMap wiki. I'll demonstrate with a Garmin etrex Vista HCx, other models may vary.

Garmin made the unfortunate choice of using a proprietary data format for their maps. There are several ways to convert map data to Garmin format.

OpenStreetMap postgresql postGIS database on RAID

rweait's picture

Configure a database for OpenStreetMap on another disk

Perhaps you need more space for your OpenStreetMap database and decide to move it to your shiny new big disk or RAID array? Sound good? Here we go. We need to create a tablespace for the database, then use it.

Create a directory for the database
sudo mkdir /raid/newgis
sudo chown postgres:postgres /raid/newgis

As the postgres user
sudo -u postgres -i

Install RAID0 on Ubuntu Lucid Lynx

rweait's picture

set up RAID0

Create a full-disk partition on each of two drives to be RAID0 combined. Set each full-disk partition as type fd - Linux RAID Auto-detect. Use fdisk or your favourite partitioning tool.

Then:
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo mkfs.ext3 /dev/md0
mkdir /raid
sudo mount /dev/md0 /raid

Everything okay to this point? Add the raid to fstab to mount raid automatically after reboot.

Pages

Subscribe to RSS - tutorial