martgnz / bcn-geodata

The official shapefiles of Barcelona, converted to GeoJSON and TopoJSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barcelona geodata

The official shapefiles of Barcelona, converted to GeoJSON and TopoJSON.

[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 respective 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 source update: 11/03/2020.

About

The official shapefiles of Barcelona, converted to GeoJSON and TopoJSON

License:MIT License


Languages

Language:Shell 100.0%