every-street
Draw every street in Romania, based on OpenStreetMap data.

Read the article here: http://danburzo.ro/every-street
Installing
Clone this repository and run npm install on it.
Using
Here's how to create a similar map for any area:
- Dowload an
.osm.pbfOpenStreetMap data file for your country/area from download.geofabrik.de and place it intodata/data.osm.pbf. node tools/extract-data.jsto extract node data intooutput/nodes.txtand street data intooutput/streets.txt;node tools/load-nodes.jsto load the nodes into a database so they can be looked up;node tools/apply-nodes.jsto replace the node IDs in your street file with the actual coordinates of the nodes intooutput/streets-with-coordinates.txt;node tools/bbox.jsto compute the bounding box and the aspect ratio for the map area intooutput/bbox.json;node tools/map-coords.jsto transform the geographical coordinates to screen coordinates using a Spherical Mercator projection intooutput/streets-with-coordinates-mapped.txt;node tools/generate-svg.jsto generate the final SVG.
Or, if you're brave enough, run them all in one fell swoop:
node tools/extract-data.js && node tools/load-nodes.js && node tools/apply-nodes.js && node tools/bbox.js && node tools/map-coords.js && node tools/generate-svg.js
...and wait... and wait.
Converting the SVG to PNG
ImageMagick has worked for me:
convert -density 900 output/streets.svg output/streets.png