I hereby claim:
- I am aliaksei135 on github.
- I am aliakseipilko (https://keybase.io/aliakseipilko) on keybase.
- I have a public key whose fingerprint is 3238 9670 FD0F 7688 A43E 944F E804 E94B 2711 1FCF
To claim this, I am signing this object:
[ | |
{ | |
"id": "document", | |
"version": "1.0" | |
}, | |
{ | |
"id": "e3595efd-6aed-428b-9dea-4a1e96be2cc9.log", | |
"availability": "2022-07-07T16:19:49Z/2022-07-07T16:47:19Z", | |
"position": { | |
"epoch": "1970-01-01T00:00:00Z", |
import json | |
import os | |
import pandas as pd | |
import geopandas as gpd | |
import numpy as np | |
from uuid import uuid4 | |
import datetime as dt | |
import subprocess | |
from glob import glob |
import numpy as np | |
from numba import jit | |
# Reference: https://en.wikipedia.org/wiki/Xiaolin_Wu%27s_line_algorithm#Algorithm | |
@jit(nopython=True, nogil=True, cache=True, fastmath=True) | |
def ipart(x): | |
return np.floor(x) |
import sys | |
import geopandas as gpd | |
import shapely.geometry as sg | |
import glob | |
if __name__ == '__main__': | |
path = sys.argv[1] | |
files = glob.glob(path + '**/*.geojson', recursive=True) | |
for file in files: |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. | |
# | |
# In jurisdictions that recognize copyright laws, the author or authors | |
# of this software dedicate any and all copyright interest in the | |
# software to the public domain. We make this dedication for the benefit |
I hereby claim:
To claim this, I am signing this object: