OpenStreetMap

tmcw's diary

Recent diary entries

COFFEEDEX & the single-tag revolution

Posted by tmcw on 1 December 2014 in English (English)

COFFEEDEX is a thing I made to track coffee prices worldwide.

Late in the iD Editor sprint, I wrote osm-auth to make the OAuth dance easier for potential future editors, thinking that a lot of common editing tasks would require super-focused UIs. COFFEEDEX is more or less the first attempt at doing that: it edits a single tag on a single type of node, amenity=cafe, and only on local nodes.

It's also made to be a pretty decent example for people who want to write their own editors: it's ~500 lines of terse JavaScript, pretty well-organized with React & the latest goodies.

Does this bloat the database? My back of napkin math says that if we tagged all 150,000 cafes with 32 chars of <tag k='coffee:price' v='$10' /> we'd end up with a grand total of 38.4MB of bloat, on a database that weighs 38GB, so we're talking a tenth of one percentage of an increase.

Which brings me to the idea: what other things can we conquer in a single tag? Wheelmap is the great-grandaddy and most awesome example of this. How about:

  • An editor that asks you how many stories the building you're currently standing in has. Or what color?
  • PBRDEX
  • Bridge height entries
  • Opening-hours-only editor

COFFEEDEX.

See a bug? If you have a GitHub account and want to be super nice to me, please file a bug in the GitHub issue tracker!

Location: Hedges Road, Chester, Morris County, New Jersey, 07930, United States of America

iD alpha3 - Presets!

Posted by tmcw on 12 March 2013 in English (English)

iD alpha3 just got released - huge work by ansis, saman, and jfire.

Try it out!

Location: Logan Circle, Southwest Waterfront, Washington, District of Columbia, 20005, United States of America

iD Architecture Series Part 2: Modes, Behaviors, and Operations

Posted by tmcw on 27 February 2013 in English (English)
Location: Colonial Village, District of Columbia, 20910, United States of America

iD Architecture Series Part 1: Data

Posted by tmcw on 26 February 2013 in English (English)
Location: Thomas Circle, Southwest Waterfront, Washington, District of Columbia, 20005, United States of America

Labeling in iD

Posted by tmcw on 12 February 2013 in English (English)

A new update from the iD osm editor project (earlier updates here) - Ansis Brahmmanis implemented labeling in Javascript with RTree and d3 and wrote about the technique. It's quite a feat, and a bit improvement in iD's usability from alpha1 to alpha2.

Location: Chinatown, Southwest Waterfront, Washington, District of Columbia, 20004, United States of America

iD Updates

Posted by tmcw on 17 January 2013 in English (English)

Some updates from the iD project:

We're nearing an alpha1 release with many bugfixes and improvements!

Location: Dupont Circle, Glover Park, Washington, District of Columbia, 20036, United States of America

iD

Posted by tmcw on 21 November 2012 in English (English)

I've been working on the iD editor: here are the notes so far:

Location: Logan Circle, Southwest Waterfront, Washington, District of Columbia, 20005, United States of America

William & Mary Maps

Posted by tmcw on 23 September 2009 in English (English)

Thanks to Stu Hamilton and the Center for Geospatial Analysis at The College of William and Mary (my proud alma mater), I've been able to really build out the maps in the Williamsburg area and especially regarding W&M itself. There's still more to come, dependent on transforming some polygon data to lines and making a few more imports.

Location: Peninsula Trail, Williamsburg, Williamsburg (city), Virginia, 23185, United States of America

Congo data finished.

Posted by tmcw on 26 April 2009 in English (English)

It was a long, long upload but it appears that all of the Africover-provided data for the Democratic Republic of Congo is uploaded to OSM and is just waiting to be rendered in all its glory. This dataset should be a really huge improvement for the country - the .osm file is 45MB.

Location: Sankuru, Congo-Kinshasa
Older Entries | Newer Entries