ตราสัญลักษณ์ OpenStreetMap OpenStreetMap

บันทึกของ the_winch

รายการบันทึกล่าสุด

My gps traces on a map.

โพสต์โดย the_winch เมื่อ 11 กุมภาพันธ์ 2009 ในภาษา English

I downloaded all my gps traces.

Used a simple ruby script to convert them to a .osm file. Each gps point became a node with an amenity=post_box tag.

Used osm2pgsql to import the .osm file into PostGIS.

Cut down the mapnik stylesheet so it only rendered postboxes using a 1x1 black box.

Added a couple of lines to generate_tiles.py to delete blank tiles. Then generated the tiles for zoom 8 to 17 in the area of my gps traces.

The result can be seen here.