Data and credits

Shitgeon draws cities inspired by real places from open data. This is where every piece of data comes from, under which licence, what we have modified and where to download the derivative databases.

Credits that always accompany the game world:

© OpenStreetMap contributors · © Ajuntament de Barcelona · Dirección General del Catastro · © ICGC

OpenStreetMap data is available under the Open Database License (ODbL). More information: https://www.openstreetmap.org/copyright

Barcelona data

Sources

© OpenStreetMap contributors — OpenStreetMap via the Overpass API (1 km cells)

Holder
OpenStreetMap contributors
Dataset
OpenStreetMap via the Overpass API (1 km cells)
Licence
Open Database License (ODbL) 1.0 · Terms of use
Required citation
«© OpenStreetMap contributors» — https://www.openstreetmap.org/copyright
Data date or version
OSM database as queried (23 Sep 2026)
Downloaded
What we use
Road centrelines (lanes, direction, speed), pedestrian crossings, pavements and pedestrian streets, squares, parks, grass, water and fountains, benches, public art, street and square names and the Plaça de Catalunya polygon (origin of the world).
Modifications
Pedestrian and road graphs (nav.json); lanes, connectors and traffic lights (traffic.json); ground classification, zebra crossings and road markings; props; map labels (labels.json); food spots.
Real data
Network layout and topology, number of lanes and directions, position of crossings, benches and public art, green and water areas and names.
Idealised
Implicit pavements by offsetting centrelines tagged sidewalk=*; 3.2 m lanes; connectors with a 6 m target radius; 0.5 m zebra stripes; 15 cm road markings; turn restrictions (restriction) are not applied.

© Ajuntament de Barcelona — CartoBCN: building heights thematic map (Mapa temàtic per alçades i edificació, GPKG, layer “Base - Alçades”)

Holder
Barcelona City Council (Ajuntament de Barcelona)
Dataset
CartoBCN: building heights thematic map (Mapa temàtic per alçades i edificació, GPKG, layer “Base - Alçades”)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Source of the data: Barcelona City Council» — https://w20.bcn.cat/cartobcn/
Data date or version
file of 18 Aug 2026 (updated monthly)
Downloaded
What we use
Footprint and real roof elevation (Z_MAX, 0.25 m vertical accuracy) of each of the 503,596 volumetric caps of the 1:1000 topographic map: the building volumes (one prism per part), canopies, porches and monuments.
Modifications
Reprojection to local coordinates, cleaning (make_valid), filling of light wells < 50 m², 0.2 m topological simplification, merging of vertices closer than 5 cm, 3D extrusion up to the roof elevation, meshes and collision prisms.
Real data
Footprint and roof elevation of every building part; outlines and elevations of canopies, porches and monuments.
Idealised
Roofs geometrically flat at the real elevation; 1 m parapets on flat roofs of parts ≥ 40 m²; canopies as a 0.4 m slab; small monuments as a cylindrical target.

© Ajuntament de Barcelona — CartoBCN: municipal topographic map 1:1000 (Cartografia topogràfica municipal, GPKG TOPO1000_LINIES and TOPO1000_PUNTS)

Holder
Barcelona City Council (Ajuntament de Barcelona)
Dataset
CartoBCN: municipal topographic map 1:1000 (Cartografia topogràfica municipal, GPKG TOPO1000_LINIES and TOPO1000_PUNTS)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Source of the data: Barcelona City Council» — https://w20.bcn.cat/cartobcn/
Data date or version
10 Jul 2026
Downloaded
What we use
Real kerbs (COM_17*), street lamps (ENE_06_PT, 132,637 in the city), ridges of pitched roofs (CON_29_LN) and sea edges (quays, jetties, beaches and breakwaters).
Modifications
Reprojection; kerbs split public space into roadway, pavement and square; ridges decide tiled roofs; sea edges limit where sea can appear; lamps become oriented props.
Real data
Position of kerbs, street lamps, roof ridges and sea edges.
Idealised
Kerb as a 15 cm vertical face; lamps facing the nearest carriageway axis; tiled roof modelled flat.

© Ajuntament de Barcelona — CartoBCN: blocks and plots (Illes i parcel·les, GPKG, PAR_01_PL)

Holder
Barcelona City Council (Ajuntament de Barcelona)
Dataset
CartoBCN: blocks and plots (Illes i parcel·les, GPKG, PAR_01_PL)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Source of the data: Barcelona City Council» — https://w20.bcn.cat/cartobcn/
Data date or version
22 Sep 2026
Downloaded
What we use
City blocks: they separate public space from block interiors and mark which façades face the street.
Modifications
Clipping of public space by block and classification of façades (street, courtyard or party wall).
Real data
Block boundaries.
Idealised
Block interiors as square or grass; blank party walls inferred from neighbouring buildings.

© Ajuntament de Barcelona — CartoBCN: architectural heritage catalogue (Catàleg de Patrimoni Arquitectònic, SHP polygons)

Holder
Barcelona City Council (Ajuntament de Barcelona)
Dataset
CartoBCN: architectural heritage catalogue (Catàleg de Patrimoni Arquitectònic, SHP polygons)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Source of the data: Barcelona City Council» — https://w20.bcn.cat/cartobcn/
Data date or version
15 Sep 2026
Downloaded
What we use
Style (ESTIL: Modernista, Noucentista, Eclectic…) and period of listed buildings.
Modifications
Spatial join with the building parts as input to the façade style heuristic.
Real data
Catalogued architectural style of each building.
Idealised
Façade class from a heuristic (buildings.py::_classify); the façade is a generic material of its class, not the real façade.

© Ajuntament de Barcelona — Open Data BCN: street, zone and park trees (Arbrat viari, Arbrat zona, Arbrat parcs, CSV)

Holder
Barcelona City Council (Ajuntament de Barcelona)
Dataset
Open Data BCN: street, zone and park trees (Arbrat viari, Arbrat zona, Arbrat parcs, CSV)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Source of the data: Barcelona City Council» — https://opendata-ajuntament.barcelona.cat/
Data date or version
CSV of 12 Nov 2024 (last update according to Open Data BCN; dataset record: 5 Aug 2026)
Downloaded
What we use
222,218 trees with position and species (street, zone and park trees).
Modifications
Species → tree class of the contract; tree pit around each street tree; height from LiDAR.
Real data
Position and species of each tree.
Idealised
Square 1.3 m tree pit facing the street; height by category (6/9/13/16 m) when LiDAR does not give 2.5–35 m; generic 3D model of its class.

© Ajuntament de Barcelona — Open Data BCN: inventory of traffic light elements (Inventari d'elements de regulació semafòrica, CSV)

Holder
Barcelona City Council (Ajuntament de Barcelona)
Dataset
Open Data BCN: inventory of traffic light elements (Inventari d'elements de regulació semafòrica, CSV)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Source of the data: Barcelona City Council» — https://opendata-ajuntament.barcelona.cat/
Data date or version
CSV of 8 Jun 2021 (last update according to Open Data BCN; dataset record: 5 Dec 2022)
Downloaded
What we use
118,829 elements with position: vehicle and pedestrian signal heads decide which junctions are signal-controlled in traffic.json.
Modifications
Junctions with signal heads within 22 m → traffic light controllers.
Real data
Which junctions are controlled by traffic lights, according to the 2021 inventory: junctions rebuilt since then may be missing or wrong.
Idealised
Synthetic signal heads; computed phases, 90 s cycle, 3 s amber, greens ≥ 12 s and offsets.

Dirección General del Catastro — INSPIRE Buildings, municipality 08900 Barcelona (ATOM)

Holder
Directorate General for Cadastre (Dirección General del Catastro, Ministry of Finance)
Dataset
INSPIRE Buildings, municipality 08900 Barcelona (ATOM)
Licence
Licence for access to and use of the INSPIRE services and datasets of the Directorate General for Cadastre (v1.0, July 2016) · Terms of use
Required citation
«Source: Directorate General for Cadastre (Ministry of Finance), author and owner of the information» — https://www.catastro.hacienda.gob.es/
Data date or version
21 Aug 2026
Downloaded
What we use
69,911 buildings and 319,559 parts: year of construction, use, number of units and dwellings and floors above ground.
Modifications
Each part is assigned to the Cadastre building it overlaps most; year, use and floors become style, commercial ground floor and floor count attributes. The original Cadastre data is not distributed.
Real data
Year, use, floors and grouping of parts into buildings.
Idealised
Floors estimated from height when they differ by more than 35 %; commercial ground floors only on buildings taller than 7 m.

© ICGC — Territorial LiDAR v3r1 2021-2023 (LAZ per 1 km sheet)

Holder
Institut Cartogràfic i Geològic de Catalunya (ICGC)
Dataset
Territorial LiDAR v3r1 2021-2023 (LAZ per 1 km sheet)
Licence
Creative Commons Attribution 4.0 International · Terms of use
Required citation
«Model derived from the territorial LiDAR of the Institut Cartogràfic i Geològic de Catalunya (ICGC), used under a CC BY 4.0 licence» — https://www.icgc.cat/
Data date or version
2021-2023 flight
Downloaded
What we use
Terrain model (1 m, ground returns 2/8/75), tree heights (vegetation maximum 3–5) and sea detection (water does not return the laser).
Modifications
1 m DTM and vegetation raster per 1 km sheet; filling under buildings (pull-push), removal of pits and spikes < 400 m², σ = 2 m smoothing; LAZ files are deleted after processing.
Real data
Ground elevation, building base elevation and tree heights.
Idealised
Terrain filling and smoothing; sea as a sheet at elevation 0.

Derivative databases (ODbL 1.0)

These derivative databases of OpenStreetMap are published in full and can be downloaded and reused under the Open Database License 1.0; share-alike applies only to these databases, not to the game. Open Database License (ODbL) 1.0

Produced works and their underlying database

The 3D meshes, the collision and the map of the game are produced works. Each one names the database it comes from (ODbL §4.6 access), downloadable in the list above.

  • tiles/*/lod0.glb — Detailed 3D mesh of each tile (buildings, ground by material, water, monuments). → odbl/ground.geojson, odbl/crosswalks.geojson, odbl/road_markings.geojson
  • tiles/*/lod1.glb — Simplified 3D mesh of each tile for distance viewing. → odbl/ground.geojson, odbl/crosswalks.geojson, odbl/road_markings.geojson
  • tiles/*/collision.bin — Heightmap of the visible ground and building prisms for collisions. → odbl/ground.geojson
  • map/*_*.webp — 2D map tiles of each tile, rendered from world/. → odbl/ground.geojson, odbl/crosswalks.geojson, odbl/road_markings.geojson, map/labels.json, tiles/*/props.json
  • map/overview.webp — 2D map overview. → odbl/ground.geojson, odbl/crosswalks.geojson, odbl/road_markings.geojson, map/labels.json, tiles/*/props.json

Shitgeon is not sponsored or endorsed by Barcelona City Council, the ICGC, the Directorate General for Cadastre or the OpenStreetMap Foundation. It is a city inspired by Barcelona, not a replica: the real street layout is the skeleton and some parts are idealised.