City Editor is a touch-friendly browser editor for Hamburg buildings, roads, and planning data. Explore the whole city, compare the map with satellite imagery, inspect detailed buildings, edit roads, and export the result as CityJSON.
- Drag the map to move. Use the wheel, a pinch gesture, or the
+and−buttons to zoom. - Open Map layers to switch between TopPlus and satellite imagery or to change the layer opacity.
- Zoom in and tap a building, or choose Roads and tap a road.
- Choose Planning to compare the city with Hamburg's planning areas.
- Choose Export CityJSON when you want a portable copy of your work.
Open Map layers in the upper-left corner.
- TopPlus is the default map.
- Satellite helps compare buildings and roads with aerial imagery.
- Building usage explains the footprint colours.
- Photo textures becomes available when detailed LoD3 buildings are visible.
- The two opacity controls let you balance the background image and road surfaces.
- Zoom in until the 3D buildings are visible, then tap a building.
- Use LoD2 and LoD3 to compare the available detail levels. Textures appears when the selected building includes them.
- Change the available building attributes.
- Choose Start editing position to move the building.
- Choose Make editable when you need to change its footprint, roof, openings, overhangs, or internal parts.
- Use Revert this building to restore the selected building's loaded attributes.
Basic attributes and position can be edited directly. Make editable is only needed for larger shape changes.
- Choose New Building in the top bar.
- Pick one of the four detailed building examples, or choose Draw a custom building.
- For a ready-made building, tap the map to place it and adjust its position before confirming.
- For a custom building, tap the footprint corners and then choose its height, roof, windows, entrance, and editable parts.
The cyan guides show lane connections through intersections. They can overlap at busy junctions, but the connections are present and can be inspected while editing the road.
- Choose Roads in the top bar.
- Tap a road surface, then choose Edit road.
- Select a lane, cycle lane, sidewalk, buffer, parking strip, or green strip in Road on the map.
- Change its type, surface, width, direction, or position. Lane dividers, arrows, and connection guides update with the road.
- Drag a yellow anchor to move a bend. Use a white
+to add a bend, or drag a road end onto a teal target to connect it. - Choose Smooth or Straight for the road shape.
- Use Undo and Redo while editing.
- Choose Save exact attributes or Save road changes. Discard leaves the saved road unchanged.
- Choose Planning in the top bar.
- Use the legend to understand the visible planning categories.
- Zoom and pan to compare different parts of Hamburg.
- Tap a coloured area to inspect its planning category.
- Choose Hide Planning when you are finished.
- Data loads a CityJSON or CityJSONSeq file.
- Structure checks the document structure.
- Check 3D validates edited geometry.
- Undo and Redo are available under More.
- Save local stores the current work in the browser.
- Export CityJSON downloads the buildings, roads, junctions, attributes, and edits as one file.
Install Node.js 20 or newer, then run:
npm ci
npm run devOpen the local address printed in the terminal.
The city overview uses Hamburg's official ALKIS 2D building data. Detailed buildings use Hamburg's official LoD3.0 dataset. Trees, planning data, satellite imagery, and TopPlusOpen retain their source attribution in the editor.
Architecture, data preparation, contributor commands, and the project roadmap are documented in PROJECT.md.







