Convert any OSM relation to geojson, user geofabrik data.
git clone https://github.com/Rub21/osmrel2geojson.git
cd osmrel2geojson/
npm link
osmrel2geojson <pbf File> <out.geojson File> <options>
e.g
$ osmrel2geojson peru-latest.osm.pbf geo.geojson --type=restriction
$ osmrel2geojson peru-latest.osm.pbf geo.geojson --type=restriction --restriction=no_u_turn
$ osmrel2geojson peru-latest.osm.pbf geo.geojson --type=restriction --restriction=*
We can add many relations properties as you want.