Mapper / mia /conf /mia_rural.yaml
Cherie Ho
Initial upload
fd01725
raw
history blame
3.32 kB
dataset_dir: "datasets/new_locations"
fpv_options:
# Pipeline configuration to filter FPV images
filter_pipeline_cfg: "mia/fpv/filter_pipelines/mia.yaml"
# Chunk size is used for checkpointing as image metadata
# can be very memory intensive. This allows you to resume
# from the last chunk in case things go wrong.
metadata_download_chunk_size: 50000
# FPV retrieval is comprised of the stages bellow
# these boolean flags allow you to only execute certain stages
# Note that the stages are ordered and later stages assume previous stages
# are complete.
stages:
get_image_points_from_tiles: True
get_metadata: True
run_filter: True
download_images: True
to_process_sequence: True
bev_options:
# Local planet dump OSM file path. File format should be either .osm or .json.
# If not provided, tiled OSM data will be downloaded from the internet.
# Additionally, the OSM data will be used to clip images such that they all lie within its boundary box.
osm_fp:
# Download the OSM file encompoassing the whole area + some padding
# Pretty slow to render but can fix the problem of missing road segments,
# which happens when the small bboxes do not contain any of the ends of the road segment.
one_big_osm: False
# Padding in meters that allows rendering a bigger bounding box then cropping.
# Useful to reduce the problem of missing road segments.
# If one_big_osm option is turned on, this padding is added over the big map only.
padding: 50
# Download OSM data only and do not process maps into semantic masks.
download_osm_only: False
# If enabled, the osm_cache will store a file per ID which removes the need for synchronization
# between processes. If disabled, osm_cache will store files based on bbox queries, enabling
# reuse of osm tiles. This was observed to reduce needed OSM downloads by ~20% but will
# trigger file lock synchronization if using multiworkers to avoid race conditions.
store_osm_per_id: False
# MapMachine style sheet
map_machine_scheme: "mia/bev/styles/mia.yml"
#Final map pixel size after rotation
map_length: 224
# Map resolution in meters per pixel
meters_per_pixel: 0.5
# If downsampling the map after processing is desired
# You can use the below downsampling factor
final_downsample: 1
# Store satelite images as well using google earth engine.
# Requires you to already have a google earth engine project, be authenticated using `earthengine authenticate`
# and a the project id set using gcloud auth `gcloud auth application-default set-quota-project PROJECT_ID`)
store_sat: False
# Whether or not to store RAW BEV svgs and rendered semantic masks.
store_all_steps: False
# How many processes to use to process images. Set to 0 to disable multiprocessing.
n_workers: 0
# Redownload existing BEV images. Useful if style sheet is updated.
redownload: False
# Should we sample from the dataframe instead of downloading everything?
# Set to -1 to download everything
n_samples: -1
cities:
- name: "Willow"
state: "Alaska"
country: "United States"
bound_type: "auto_shape"
- name: "Ely"
state: "Nevada"
country: "United States"
bound_type: "custom_bbox"
custom_bbox: "-115.1024,39.0709,-114.7045,39.2321"