I’ve been working on OSM Simple 3D Editor, a browser-based editor for OpenStreetMap buildings. It combines editing based on the Simple 3D Buildings scheme with a floor-by-floor view of indoor data. My goal is to make it easier to understand how building parts and mapped spaces fit together while editing them.
For buildings, you can edit tags and geometry directly in 3D: draw and split parts, move them, extrude faces, and use snapping and guides. The editor also supports type=building relations and multipolygons, with undo/redo, validation and upload to OSM through OAuth.
For indoor mapping, you can select a floor and view its mapped rooms, corridors, areas, walls, columns and doors within the building. The view uses tags such as indoor=*, level=* and repeat_on=*; it also shows stairs and elevators across floors. Indoor objects can be selected, and their tags can be edited alongside the building.
The project is still evolving. I’d particularly welcome examples of buildings with complex parts or indoor layouts that the editor handles poorly. If you try it, please share an OSM link and describe what you expected to see or do. Feedback on the floor navigation and the connection between indoor data and the 3D building would be especially helpful.
What would you need from a tool like this in your mapping workflow?
Maybe some way to get to the location I want to edit. If starting the editor, I’m in the middle of Moscow and loading all the data, then I need to get to the actual location, I want to edit. Like having a workflow like osm.org has with iD would be helpful.
Thanks, Henning! You’re right — opening in Moscow made it awkward to get to the place you wanted to edit. I fixed this today: on the first visit, the editor now opens with a world view and prompts you to zoom in to your area of interest. After that, it remembers your camera position and restores it the next time you open it. Please give it another try and let me know how it feels.
It seems that the algorithm for roof:shape=gabled is overcomplicated at some step.
It should follow roof:shape=hipped, but triangular roof faces should be verticalized. At least it seems so for me
Thanks for the example! roof:shape=gabled and roof:shape=mansard are built with the same algorithm, based on the hipped roof construction. I’ve added a little approximation to avoid kinks in the roof slopes and smooth out small artifacts.
For this particular building, though, I think the main issue is its footprint geometry. Compare the outline with the satellite imagery: I adjusted it slightly in JOSM and got a much more plausible roof.
I have to admit it’s not as bad as it seemed at first. From what I can see, apse_gabled and side_hipped are not supported. I also get quite a few warnings “Parts leave ..% of the area uncovered …” for some but not all overhanging roofs (that are part of the building outline).
Plus a couple of implementation specific mismatches of fitting roofs together, probably difficult to avoid. I’m mapping in a rural area where building outlines and roofs are often not regular.
Thanks for the feedback! I’d appreciate direct links to a few of the buildings where you’re seeing these issues. You can simply copy the URL from the editor’s address bar — that will make debugging much easier.
I’ve only just added the validation panel, and it is still a bit noisy. I’m working on refining the checks and reducing false positives.
That’s something I have planned too. The implementation is still a work in progress, and I’m actively debugging it. Once the results are reasonably stable, I’ll work on documenting the algorithms and extracting reusable components.
@Pan, the roof orientation field appears when you select a roof shape that supports it, such as gabled, hipped, or round. Try selecting the roof shape first, and the orientation field should appear.
Thx very much for this impressive tool. I’ve just heard aboout it and started to use one minute later
Sorry if this has been already asked, but would it be possible to differentiate trees (known as objects natural=tree) from trees randomly generated in a area represented by natural=wood?