I'm looking for an online OSM style editor that lets me style OSM ways and nodes by tags. I know CloudMade's editor is no longer available, and Mapbox's does this but has zoom level rendering limits (eg, won't render buildings below zoom level 13).
My goal is to get a map of the USA (or world if I can) that shows where every OSM building has been mapped (ways with building=). And a second map that shows where every OSM building + street address is (ways with addr:housenumber=).
Here's an example map I did using a state OSM extract in Kentucky, processed with Osmosis, and QGIS to render:
https://twitter.com/CivicDataAlly/status/644963898463023108
But unfortunately the North America extract is too large for me to work with, and QGIS can't even open the large Osmosis processed file on my machine. I also set up osm2pgsql and PostgreSQL/PostGIS databases, but again the file sizes and processing times are too huge.
Is there an online tool where I can style buildings at a low zoom level?
SOLVED
I finally got the image I needed of all the buildings and buildings with street addresses for all of North America, by using the info in the answer below.
I basically setup postgres and used pgAdmin3 to manage it and then osm2pgsql in the command line with the correct options and styles to load the raw .pbf export into the database, then connect to it with QGIS to visualize it.
Once the data was in postgres it was easy and fast to deal with, even displaying it in QGIS on my modest computer.
Buildings
Here are the stats and what I did for the building footprint layer:
osm2pgsql -U mschnuerle -d mschnuerle --create --slim --flat-nodes nabuildings.bin --cache 18000 --number-processes 3 --style buildings.style north-america-latest.osm.pbf;
Processing: Node(794783k 1292.3k/s) Way(52669k 32.51k/s) Relation(471970 89.52/s) parse time: 7507s (2 hours)
node cache: stored: 794783721(100.00%), storage efficiency: 66.31% (dense blocks: 695842, sparse nodes: 243029485), hit rate: 100.00%
Osm2pgsql took 88452s overall (24 hours)
Backup DB size: 4GB
with only this in the buildings.style file (everything else deleted):
way building text polygon
way way_area real linear
Addresses
And here is what I did for only the buildings that had street addresses attached to them:
osm2pgsql -U mschnuerle -d mschnuerle --create --slim --drop --flat-nodes naaddress.bin --cache 6000 --number-processes 4 --verbose --exclude-invalid-polygon --prefix address --style address.style north-america-latest.osm.pbf;
Processing: Node(794783k 1271.7k/s) Way(52669k 31.67k/s) Relation(471970 37.13/s) parse time: 14998s (4h)
Osm2pgsql took 17455s overall (5h)
with this in the address.style file (everything else deleted):
way addr:housenumber text polygon
way way_area real linear
way building text delete
And my machine specs are this, for those asking:
Mac Specs
OS X El Capitan 10.11 Beta
iMac 27" Mid 2011
3.1 GHz Intel Core i5 (4 cores)
25 GB 1333 MHz DDR3
1TB SATA HD
This is the only map online that shows building footprints at this level, as far as I know. If you find any other ones, please let me know here.
I also plan to create all the Mapbox tiles needed using Tippecanoe and post the map online over the next few weeks.