Open jvonau opened 2 years ago
The last remaining small issue is this noted error
XHRGET http://192.168.122.35/osm-vector-maps/viewer/init.json [HTTP/1.1 404 Not Found 0ms]
This file does exist in iiab but is not installed.
The last remaining small issue is this noted error
XHRGET http://192.168.122.35/osm-vector-maps/viewer/init.json [HTTP/1.1 404 Not Found 0ms]
This file does exist in iiab but is not installed.
That looks like the lat/long viewport, so browsers showcase the most recently installed continent/region (centering & framing its green rectangle within your browser) e.g. whenever a new person visits http://box/maps
So init.json is probably intended to be missing on fresh IIAB software installs — until a continent/region is installed — sounds like everything is probably working fine (or am I wrong?)
General context, just in case others run into this ticket — and want to learn a bit more about IIAB's map catalog(s) — that currently contain info about 14 .mbtiles files for world continents and similar regions:
https://github.com/iiab/iiab/wiki/IIAB-Maps#how-do-i-upgrade-an-iiab-map-pack
Most of these are OpenStreetMap (OSM) vector map files, but there is one exception at the moment — i.e. the 1.2 GB satellite_z0-z9_2020.mbtiles is also included in the catalog(s).
Just FYI current file sizes are here:
The last remaining small issue is this noted error
XHRGET http://192.168.122.35/osm-vector-maps/viewer/init.json [HTTP/1.1 404 Not Found 0ms]
This file does exist in iiab but is not installed.
That looks like the lat/long viewport, so browsers showcase the most recently installed continent/region (centering & framing its green rectangle within your browser) e.g. whenever a new person visits http://box/maps
Yes, it is used for custom focus when you visit the page with the contents below the map will roughly center on Winnipeg with a zoom of 8
{ "region" : "min", "center_lat" : "50.00", "center_lon" : "-96.00", "zoom" : "8" }
So init.json is probably intended to be missing on fresh IIAB software installs — until a continent/region is installed — sounds like everything is probably working fine (or am I wrong?)
Installed the base map set and this file does not exist, should it? or maybe as a init.json.example to use as a guide? The ability gained by it's presents is a great customization, any plans to add editable lat lon and zoom fields for init.json to admin-console?
Installed the base map set and this file does not exist, should it?
This issue has 3 or 4 distinct items. Is this the last standing one? init.json is created when a maptile set is added so as to put focus on its region. It's true that a dummy could be installed that would put focus on the center of the world if someone cares to say what that is. I think the current code does that in the absence of the file.
Ok init.json shows up once one of the z11+ mbtiles are installed, still would be nice to be able to tweak the focus at some point later. Is there a hint to this ability? I might of glossed over it in the docs..
Ok init.json shows up once one of the z11+ mbtiles are installed, still would be nice to be able to tweak the focus at some point later. Is there a hint to this ability? I might of glossed over it in the docs..
This is a good idea.
I've started a Customizations section here:
I've started a Customizations section here:
Above Customizations expanded.
Pointing implementers in the right direction to modify the green rectangles (for continents/regions) and yellow squares (for satellite photos) e.g. if they need to fine-tune those colors to show suitable contrast against the vegetation (or lack thereof) in their part of the world.
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?
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