Skip to content
/ gsi Public

Implementation of a map tile retriever for "Chi-ri-in-tile" ("地理院タイル"; ja-JP) of "Geospatial Information Authority of Japan" (GSI).

License

Notifications You must be signed in to change notification settings

usagi/gsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GSI

Implementation of a map tile retriever for "Chi-ri-in-tile" ("地理院タイル"; ja-JP) of "Geospatial Information Authority of Japan" (GSI).

Features

  • Tile
    • Get a blob Vec<u8> of a tile using id, x, y, z, ext and params.
    • Get a image image::DynamicImage of a image tile.
    • Get a altitudes Vec<f64> of a DEM(.png; GSJ-Nishioka-Nagatsu-2015) tile.
    • Get a altitudes Vec<f64> of a DEM(.txt; CSV) tile.
  • cocotile
    • Get a tile-ids as Vec<String>.
  • Layers.txt
    • Get a Layers.txt as Layers.
      • Layers type = Layers.txt; {"layers":[{...},...]}
      • LayerVariant type = enum of Layer | LayerGroup
      • Layer type and LayerGroup type = entry of "type":"Layer" | "type":"LayerGroup"
    • Make/Store/Load CachedLayers (=HashMap<String, Layer>) feature for local Layer informations caching
      • Retrieve the other Layers.txt source file of "src" external referencing in Layer
        • Explicit enabling/disabling switching
      • .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 cache

Examples or Tests

Reference

See also

License

GSI files

These files are GSI's tiles. It's for only to use unit tests, no need essentially.

Author

About

Implementation of a map tile retriever for "Chi-ri-in-tile" ("地理院タイル"; ja-JP) of "Geospatial Information Authority of Japan" (GSI).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages