bcn-geodata
bcn-geodata copied to clipboard
The official shapefiles of Barcelona, converted to GeoJSON and TopoJSON
Barcelona geodata
![](https://cloud.githubusercontent.com/assets/1236790/22386529/ca66b7ae-e4d7-11e6-942b-19f83226bccc.png)
The official shapefiles of Barcelona, converted to GeoJSON and TopoJSON for making your life easier.
[Check out barcelona-atlas to generate your TopoJSON with combined features, fine-grained controls and no need of external dependencies]
Metadata
Please read the metadata file for a description of every file and field.
Recreate the files
Assuming that you have ogr2ogr and topojson-server installed globally:
- Run the script
$ ./convert.sh
- Voilà! Find the files in their respectives folder.
You can tweak the script to delete properties from the original shapefile and adjust the simplification.
Source
Ajuntament de Barcelona / CartoBCN (CC-BY).
Last data update: 11/03/2020.