Archive for September, 2008

Icons and stickers

Everyone likes stickers, especially when they’re Moo custom-printed stickers. Click the button below, using Moo’s new XML API, to start creating cool stickerbooks from the OSM and OCM logos. Just for fun, I’ve thrown in my icons too :-)

Make cool stickers out of icons!


Update: The images on the chooser page look a bit pony, but don’t worry; thats an aliasing artefact. Also, there is currently a problem with transparent PNGs which give the images a black background, but the guys at Moo are working on a fix.

1 comment September 29th, 2008

Icons 0.3

More icons! And this time they’re PD licensed.



The fire station / department icon is now less suggestive. Unless you’ve got a really, really dirty mind :-)

The police, convenience and synagogue icons have been touched-up to render better at 16×16.

Several new icons have been added:

  • School: A chalkboard seems an obvious icon (although most schools probably use whiteboards now), with a simple sum on it. The alternative, using “ABC”, seems a bit latin alphabet centric.
  • Hindu temple: Uses a PD “Om” symbol from wikimedia commons.
  • Pastafarian: Just for laughs. According to tagwatch, we don’t actually have any… yet. ;-)
  • Sikh temple: Uses a PD “Khanda” symbol, again from wikimedia commons.
  • Pharmacies: Both dispensing and non-dispensing according to what seems to be the common convention.
  • Post box: Its supposed to be a letter going into a slot, but it isn’t as clear as it could be.
  • Telephone: This is a pretty standard-looking icon.
  • Hotel: This is also pretty conventional, should be recognisable world-wide.
  • Taxi rank: Represents a taxi cab… Given that a 16×16 icon is too small to use text, I hope that the car with a little “bump” on the top is recognisable in most countries.

Enjoy!

6 comments September 29th, 2008

Icons 0.2

I’ve done a little more work on a consistent, high-zoom icon set and here is release 0.2. Here’s a sample of what the icons look like, although its best to see them on a real map to get the full effect.

I know I’d like to see these on the map, which means they have to be tagged. At the moment we, as a community, aren’t doing very well at tagging things which aren’t rendered (but we’re very good at tagging things that are, e.g: pubs ;-) ). So, treat yourself and tag a nice restaurant today!


Update: I’ve had a special request for the airport icon without the shield, suitable for use at lower zoom levels, so here are the SVG and PNG files.

6 comments September 25th, 2008

Expiry

Here is a short script to expire tiles based on osmchange diffs. Michal’s comment got me thinking about if there were an easy way to do it and today’s answer is yes, as long as you don’t mind it not being 100% accurate.

The script basically takes all the node locations in the diff, or referenced by ways in the diff, and expires the (meta)tile which contains that point. There are several problems with this approach:

  • If a named node (e.g: a pub) is on the corner of a meta tile and its name is modified then the tile(s) containing the name should be expired as well.
  • The non-local effects of mapnik’s text placement mean that changes to a way may affect its neigbours, meaning they should also be expired.
  • If a way crosses the corner of a meta tile, but has no nodes within it, and is changed then that meta tile should be expired.

However, it seems to work well enough for me at the moment, although I reckon it is probably prudent to expire all the tiles every week or so, just to make sure.

Or the script can be easily extended to expire all the neighbours of expired meta tiles.

Add comment September 12th, 2008

Party Progress

I’ve been playing with the diff import for osm2pgsql, which now works wonderfully, and trying to set up a (nearly) live tile-server. To test it, I set it running over the weekend after the Euston micro mapping party, grabbing some tiles every hour and turning them into a movie. It covers the period from about 5pm Friday to 10am this morning with one frame per hour.

2 comments September 8th, 2008


Calendar

September 2008
M T W T F S S
« Aug   Oct »
1234567
891011121314
15161718192021
22232425262728
2930  

Posts by Month

Posts by Category