Commit d37cd341 authored by Eric Duminil's avatar Eric Duminil
Browse files

Bugfix: removing hard coded path

parent 88750074
......@@ -4,12 +4,16 @@ import pandas as pd
from pyproj import Transformer
from shapely import LineString
"""
Parses cache files created by add_trees.py and exports the information to a csv file.
"""
EPSG_ID = 25832
to_local = Transformer.from_crs("EPSG:4326", f"EPSG:{EPSG_ID}", always_xy=True)
def load_cache(cache_path):
with open(Path('cache') / '49_802698__49_804055__9_942167__9_945563.pickle', 'rb') as f:
with open(cache_path, 'rb') as f:
return pickle.load(f)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment