This project was archived.
Building footprints for San Francisco exist in OSM thanks to the Mapbox Data Team. We're annotating many of these footprints with a
height tag based on SFdata.gov a LIDAR-derived building dataset.
Created by bdon - Updated - Priority: medium
- Entities to Map
- Buildings - review the automatically added `height` tags
- Changeset Comment
- San Francisco Building Height Import #sfbuildingheights https://wiki.openstreetmap.org/wiki/San_Francisco_Building_Height_Import When saving your work, please leave the default comment but add what you actually mapped, for example "added buildings and a residential road".
San Francisco Enterprise Geographic Information Systems Program (SFGIS) Building Footprints, 2016. https://sfgis-svc.sfgov.org/sfgis/San_Francisco_Bldg_withZ_20161028.zip
- Please make a new account on the OSM website for the import. If your username is
brandonyou should make an account called
brandon_sfimport. and post it here. If you have questions, post on GitHub issues. Join our Gitter channel and say hihi.
- JOSM Setup
- Download JOSM. Enable Remote Remote Control in JOSM's Preferences > Remote Control , the second to last tab.
- Add the hillshade imagery : menu Tab Imagery > Add TMS entry...
- QGIS Setup (optional)
- Download QGIS . Windows and Linux should have binary packages. For macOS, you can install via Homebrew or as a binary+Kyngchaos frameworks. If you need help, ask on Gitter.
- Download the two raster files. Building Layer and Hillshade.
- Open lidar_style.qgs. Put this in the same directory as the two raster files.
- Now you can use the "Identify Features" tool while the
heightlayer is selected to identify the height at any pixel.
- I would also recommend installing the QuickMapServices plugin to overlay OpenStreetMap. This will make the map easier to orient.
Doing a Task
- Select a task and choose Start mapping - it's best to choose an area you're familiar with.
- Open JOSM, and then in the Task Manager, under "Extra Instructions", click the link to load the changeset into JOSM. JOSM will now have an open changeset of buildings you'll be adding height tags to.
- In the Task Manager, click the link to open the Mapillary / OSM comparison tool. Use this street imagery to carefully review each building you're tagging. If you're unsure about a tag, you can remove it - It is very important that you only remove the tag from the way, and not delete the entire building!
- Add the Map Style : buildingheights.css. It's a panel in the right sidebar. Make sure it is activated.
- Inspect each building and ensure that its OSM footprint aligns with the LIDAR shape.
- If the LIDAR footprint is obscured by trees, refer to QGIS to find the correct height, and then edit the "height" value in the right editing panel.
- If you want to edit other tags or change building footprints, do that in a separate changeset.
- When you're done, make sure your JOSM is authenticated with your import-specific account. Upload the changeset with the comment:
San Francisco Building Height Import #sfbuildingheights https://wiki.openstreetmap.org/wiki/San_Francisco_Building_Height_Import
Finally, make sure to "Mark task as done" in the Task Manager.
Validating a Task
- Claim a "Done" yellow task in the Tasking Manager.
- In the Task Manager, click the link to open the Mapillary / OSM comparison tool. Use this street imagery to carefully review each building you're tagging. Expect to take at least 15 minutes per task reviewing the height tags in the area.
- If you need to make changes, click the link in the Task Manager for loading OSM data. This will load all OSM data in the task's area into JOSM. Make any corrections and then upload it using your import-specific account.
- Finally, mark the task as validated in the Tasking Manager.