Crates.io | gsi |
lib.rs | gsi |
version | 1.0.0 |
source | src |
created_at | 2020-09-12 01:19:30.741791 |
updated_at | 2020-09-12 01:19:30.741791 |
description | Implementation of a map tile retriever for 'Chi-ri-in-tile' ('地理院タイル'; ja-JP) of 'Geospatial Information Authority of Japan' (GSI). |
homepage | |
repository | https://github.com/usagi/gsi |
max_upload_size | |
id | 287605 |
size | 142,080 |
Implementation of a map tile retriever for "Chi-ri-in-tile" ("地理院タイル"; ja-JP) of "Geospatial Information Authority of Japan" (GSI).
Vec<u8>
of a tile using id
, x
, y
, z
, ext
and params.image::DynamicImage
of a image tile.Vec<f64>
of a DEM(.png; GSJ-Nishioka-Nagatsu-2015) tile.Vec<f64>
of a DEM(.txt; CSV) tile.cocotile
id
s as Vec<String>
.Layers.txt
Layers
.
Layers
type = Layers.txt; {"layers":[{...},...]}
LayerVariant
type = enum of Layer
| LayerGroup
Layer
type and LayerGroup
type = entry of "type":"Layer"
| "type":"LayerGroup"
CachedLayers
(=HashMap<String, Layer>
) feature for local Layer
informations caching
"src"
external referencing in Layer
.to_json_string
, .to_json_vec
; serde_json syntax sugar for storing a local Layer
informations cache.from_json_string
, .from_json_slice
; serde_json syntax sugar for loading a local Layer
informations cacheThese files are GSI's tiles. It's for only to use unit tests, no need essentially.
tests/gsi-std-z14-x14622-y6017.png
from https://cyberjapandata.gsi.go.jp/xyz/std/14/14622/6017.png
tests/seamlessphoto-std-z14-x14622-y6017.jpg
from https://cyberjapandata.gsi.go.jp/xyz/seamlessphoto/14/14622/6017.jpg
https://www.gsi.go.jp/kikakuchousei/kikakuchousei40182.html; ja-JP