Frontend prototype for project Eazyway.
mkdir data
python3 scripts/get_mapillary_data.py access_token organization_id [image_id_blacklist [sequence_id_blacklist]]
python3 scripts/get_obstacles.py URL
mkdir img/obstacles
mkdir -p audio/obstacles
python3 scripts/get_obstacles_details.py URL data/obstacles.json
cd audio/obstacles
for f in *.wav; do ffmpeg -i $f -vn -ar 44100 -ac 2 -b:a 128k ${f%.wav}.mp3; done
Add file src/config/style.jsand implement the
setfunction in
src/config/style.js`:
var set = function(map) {
// TODO get your own style object
map.setStyle(style);
};
module.exports = {
set: set
};
echo acces_token > data/mly_token.json
npm run start
npm run dist