+
Skip to content

Please clarify the use of osm_size within the code base. [& discussion of init.json browser viewport, centered on lat/long + zoom-level] #60

@jvonau

Description

@jvonau

https://github.com/iiab/maps/blob/master/2020/map-catalog.json no osm_size has 2020 entries
https://github.com/iiab/iiab-admin-console/blob/master/roles/common/files/map/adm-map-catalog.json no osm_size has 2020
What is the significance of "seq" below and these 2 versions are so close could they be unified going forward?

jvonau@kickass:/mnt/scratch$ diff -u git/maps/2020/map-catalog.json git/iiab-admin-console/roles/common/files/map/adm-map-catalog.json
--- git/maps/2020/map-catalog.json	2022-04-28 18:15:48.174567668 -0500
+++ git/iiab-admin-console/roles/common/files/map/adm-map-catalog.json	2022-05-01 22:46:18.563206181 -0500
@@ -13,10 +13,10 @@
       "perma_ref": "",
       "publish": "False",
       "region": "planet_base",
-      "seq": 50,
+      "seq": 1,
       "size": 2108256256,
       "south": "-84.0",
-      "title": "Planet Base",
+      "title": "Planet to Zoom 10",
       "version": "",
       "west": "0.0",
       "zoom": "0",
@@ -35,10 +35,10 @@
       "perma_ref": "",
       "publish": "False",
       "region": "satellite_base",
-      "seq": 0,
+      "seq": 2,
       "size": 1273274368,
       "south": "0.0",
-      "title": "Satellite Base",
+      "title": "Satellite to Zoom 9",
       "version": "v3",
       "west": "0.0",
       "zoom": "0",
@@ -216,7 +216,7 @@
       "seq": 95,
       "size": 86868115456,
       "south": "-84",
-      "title": "World",
+      "title": "Entire World",
       "version": "v0.2",
       "west": "-180",
       "zoom": "2",
@@ -235,10 +235,10 @@
       "perma_ref": "en-osm-omt_san_jose",
       "publish": "True",
       "region": "san_jose",
-      "seq": 5,
+      "seq": 105,
       "size": 30449664,
       "south": "37.23",
-      "title": "World to Zoom Level 10",
+      "title": "San Jose Small File for Testing",
       "version": "v0.21",
       "west": "-122.24",
       "zoom": "2",
@@ -311,4 +311,4 @@
       "filename": "osm_spanish_speaking_regions_z11-z14_2020.mbtiles"
     }
   }
-}
\ No newline at end of file
+}

http://download.iiab.io/content/OSM/vector-tiles/map-catalog.json has osm_size has 2019 entries
https://github.com/iiab/maps/blob/master/osm-source/jupyter-code/README.md
I get the impression that osm_size is going/gone away and just using 'size' 'mbtile_size' only now in map-catalog.json?
These tools mention osm_size:
https://github.com/iiab/maps/blob/master/osm-source/jupyter-code/maps.ipynb has 4 mentions of osm_size, one within what looks to be a python traceback.
https://github.com/iiab/maptools/search?q=osm_size
Other mentions of osm_size https://github.com/iiab/maps/search?&q=osm_size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载