mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
python library writes spec v2; bump 1.1.0
This commit is contained in:
@@ -54,7 +54,7 @@ class Writer:
|
||||
|
||||
def write_header(self,metadata,root_entries_len):
|
||||
self.f.write((0x4D50).to_bytes(2,byteorder='little'))
|
||||
self.f.write((1).to_bytes(2,byteorder='little'))
|
||||
self.f.write((2).to_bytes(2,byteorder='little'))
|
||||
metadata_serialized = json.dumps(metadata)
|
||||
# 512000 - (17 * 21845) - 2 (magic) - 2 (version) - 4 (jsonlen) - 2 (dictentries) = 140625
|
||||
assert len(metadata_serialized) < 140625
|
||||
|
||||
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
||||
|
||||
setuptools.setup(
|
||||
name="pmtiles",
|
||||
version="1.0.0",
|
||||
version="1.1.0",
|
||||
author="Brandon Liu",
|
||||
author_email="brandon@protomaps.com",
|
||||
description="Library and utilities to write and read PMTiles files - cloud-optimized archives of map tiles.",
|
||||
|
||||
Reference in New Issue
Block a user