Usage

Create custom sequences

  • It adds URLs to review the images of the sequences.

In Mapillary, many sequences have only a frontal view (road). These sequences are not useful when we want to have a view to the facade building or lots, so we can remove them.

In order to delete unnecessary sequences, it is necessary to have the generated custom sequence files and upload them to the tool. We have 2 tools that help us to do it:

  1. A plugin in JOSM to be able to see an image of a sequence and to be able to delete it if necessary (download it from s3://ds-data-projects/JOSM/osm-obj-info.jar).

  2. An app that allows us to load GeoJSON files and view random images of a sequence, it allows us to delete sequences by marking with a check.

COMMAND REQUIRED DESCRIPTION
--geojson_points yes Point file path.
--output_file_sequence no Custom sequence file path.

Return:

GeoJSON file - it contains a new attribute with URLs to review the images of the sequences.

Command line:

docker run --rm -v ${PWD}:/mnt/data -e MAPILLARY_ACCESS_TOKEN=$MAPILLARY_ACCESS_TOKEN -it developmentseed/geokit:python.latest mapillary \
    create_custom_sequences \
    --geojson_points=<INPUT_GEOJSON> \
    --output_file_sequence=<OUTPUT_GEOJSON>