Home

Awesome

Leveraging Crowdsourced GPS Data for Road Extraction from Aerial Imagery

The source code of CVPR 2019 paper "Leveraging Crowdsourced GPS Data for Road Extraction from Aerial Imagery"

Usage

python train.py \
	--model "dlink34" \
	--sat_dir "dataset/train_val/image" \
	--mask_dir "dataset/train_val/mask"\
	--gps_dir "dataset/GPS/patch" \
	--gps_type "data"
	

Dataset

Our dataset is avaliable upon request. Please contact via: suntao [AT] tongji.edu.cn

Dataset Description

Each input image image/x_y_sat.png is a RGB satellite image of 1024 $\times$ 1024 pixel size. Its corresponding GPS data is stored in file /GPS/patch/x_y_gps.pkl, and corresponding mask image is mask/x_y_mask.png.

Unfortunately, we haven't got the permission to publish the satellite images due to the license of the data provider. However, we provide all the GPS coordinates of each satellite image (avaliable in WSG and GCJ format) in /coordinate/. You might apply for the access and download these images from Amap (高德地图) or DigitalGlobe referencing the coordinates.

GPS Data

The GPS dataset contains ~50m rows of GPS record collected from ~28k vehicles in Beijing.

To save the loading time, we publish the dataset in Python's Pickle format, which can be directly loaded like:

import pandas
import pickle
gps_data = pickle.load(open('beijing_gps_dir_speed_interval_sorted.pkl', 'rb'))

Here are first lines of this file:

IDtimelatlondirspeedtimeinterval
00122806104639.71743116.6181500NaN
10122808845739.71742116.6179800177.5
20122808852039.71670116.614201590150.5
30122808875839.71742116.6179800272.5
40122809092639.71670116.6142800354.5
50122809124939.73902116.6090212308318.0
60122809156239.73770116.568212671080264.0

Definition of columns:

The lat/lon are in the WGS System. The data table is sorted by ID and then by time.

License

img

This dataset is published under CC BY-NC-SA (Attribution-NonCommercial-ShareAlike) License . Please note that it can be ONLY used for academic or scientific purpose.

Citation

We kindly remind you that if found the code or dataset is useful for your research, please cite our paper.

Sun, Tao, Zonglin Di, Pengyu Che, Chun Liu, and Yin Wang. 
"Leveraging Crowdsourced GPS Data for Road Extraction From Aerial Imagery" 
In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7509-7518. 2019.