Commit Graph

17 Commits

Author SHA1 Message Date
geospatial-jeff
ba7bc0e24e deserialize_header returns pmtiles version 2023-05-28 09:46:27 -06:00
Brandon Liu
61a5076dc5 add edge case find_tile test [#117] 2023-01-30 03:41:13 +08:00
Brandon Liu
78cde0d51f python: raise errors in overflow and invalid tile ID cases 2022-12-22 21:56:23 +08:00
Brandon Liu
cd1374cc33 python: fix magic number in writer, assert current spec version and magic number in reader 2022-11-01 17:24:29 +08:00
Brandon Liu
8c57c9d5f4 fix python tests 2022-10-17 21:19:40 +08:00
Brandon Liu
b1c7cf59a3 implement pmtiles-to-mbtiles and pmtiles-to-dir conversions; don't delete redundant metadata keys (center, minzoom, etc) 2022-10-13 19:23:57 +08:00
Brandon Liu
0f03dc3312 python: pmtiles-convert from mbtiles writes v3 spec 2022-10-12 00:02:59 +08:00
Brandon Liu
b1cfa7da24 python v3: serialize/deserialize header 2022-10-11 16:58:42 +08:00
Brandon Liu
904031a85e python client: implement v3 directory serialization/deserialization 2022-10-11 15:57:15 +08:00
Brandon Liu
6087d89391 initial implementations of python v3 utility functions 2022-10-11 13:58:08 +08:00
Brandon Liu
de687baf61 python reader: fix leaf level querying 2022-07-18 21:00:46 +08:00
Brandon Liu
80c0e2b436 Python API changed to do I/O in larger blocks 2022-07-07 21:57:28 +08:00
Brandon Liu
3944d27833 refactor python reader to take a get_bytes function; add reader tests [#38] 2022-04-26 16:15:03 +08:00
fscottfoti
ed40933563 reformat with black 2022-04-09 12:44:54 -07:00
Brandon Liu
cd5ebcccc9 python writer correctly handles sparse pyramids where leaf parent tile missing [#37] 2022-03-20 18:24:08 +08:00
Brandon Liu
df8256f10b python writer: fix logical error when a packed leaf directory overflows [#37] 2022-03-20 18:20:56 +08:00
Brandon Liu
7fe6325c74 refactor of python writer; separate pyramid building from i/o 2022-02-28 10:59:02 +08:00