Skip to content

Repository files navigation

Tests

Bro Reader Package

Use the following code snippet use the package. Note that the distance for the radius is given in kilometers. And the default start date is 1/1/2015

from BroReader import read_BRO
import pickle
from datetime import date

if __name__ == "__main__":
    location = [117769, 439304]
    radius_distance = 1  # in km
    start_date = date(2015, 1, 1)
    c = read_BRO.read_cpts(location, radius_distance, output_dir="cpts")
    # open a file, where you ant to store the data
    file = open('cpts', 'wb')
    # dump information to that file
    pickle.dump(c, file)
    file.close()

About

Reader for public Dutch geo-data

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages