OpenStreetMap 标志 OpenStreetMap

ikonor的日记

最近的日记文章

achavi screenshot

As you might know, Overpass API has a new “attic data” feature (see Overpass API v0.7.50 almost done and SotM EU workshop). It allows to query for augmented changes by date range and bounding box. I’m very excited about this, because it now really makes sense for visualizing updates in an area, while iterating over minutely augmented diffs was a bit of an overkill. So I couldn’t resist and made a hack to utilize this in Achavi:

http://nrenner.github.io/achavi/

Zoom in to your area of interest and press load to see changes within the last 24 hours. For continuous monitoring bookmark the Permalink and simply press load each time, the last load date will be preset as start date.

The old version will probably be replaced once the attic database is rebuilt. Code is in the attic branch (only for the brave).

Many thanks to Roland for implementing the attic feature!

Changeset

There also is an experimental feature for visualizing changesets:

查看完整日记文章

DIY OSM PBF vector tiles

ikonor 于 2013年九月 6日 以 English 发布

I’m working on a simple, do-it-yourself solution of generating your own vector tiles and using them in the Browser. My approach is generating vector tiles in the PBF format with the Mapsplit tool from a downloaded extract and loading them directly from Leaflet - no database and no special vector tile server involved.

I uploaded Birmingham (West Midlands extract from Geofabrik) as an example area - this is very alpha and inefficient right now, so it’s slow and might also crash your Browser:

Demo

(best viewed with Chrome/Chromium, Firefox should also work)

For a few more details about that see my short talk at SotM at Sunday, 16:30 in the Main Lecture Theatre.