unvt / zfxy-ruby

first ruby implementation of zfxy

Home Page:https://unvt.github.io/zfxy-ruby/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zfxy-ruby

first ruby implementation of zfxy

Usage

$ ruby test.rb
6489
6489
"14/0/14336/6489"
[14, 0, 135.0, 35.012002043160706]
[135.0, 34.99400375757576, 135.02197265625, 35.012002043160706]
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.0,35.012002043160706],[135.0,34.99400375757576],[135.02197265625,34.99400375757576],[135.02197265625,35.012002043160706],[135.0,35.012002043160706]]]},"properties":{"base":0,"height":4096,"code":"14/0/14336/6489"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.0,35.02999636902565],[135.0,34.99400375757576],[135.0439453125,34.99400375757576],[135.0439453125,35.02999636902565],[135.0,35.02999636902565]]]},"properties":{"base":0,"height":8192,"code":"13/0/7168/3244"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.0,35.012002043160706],[135.0,35.00300339527671],[135.010986328125,35.00300339527671],[135.010986328125,35.012002043160706],[135.0,35.012002043160706]]]},"properties":{"base":0,"height":2048,"code":"15/0/28672/12978"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.0,35.00300339527671],[135.0,34.99400375757576],[135.010986328125,34.99400375757576],[135.010986328125,35.00300339527671],[135.0,35.00300339527671]]]},"properties":{"base":0,"height":2048,"code":"15/0/28672/12979"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.010986328125,35.012002043160706],[135.010986328125,35.00300339527671],[135.02197265625,35.00300339527671],[135.02197265625,35.012002043160706],[135.010986328125,35.012002043160706]]]},"properties":{"base":0,"height":2048,"code":"15/0/28673/12978"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.010986328125,35.00300339527671],[135.010986328125,34.99400375757576],[135.02197265625,34.99400375757576],[135.02197265625,35.00300339527671],[135.010986328125,35.00300339527671]]]},"properties":{"base":0,"height":2048,"code":"15/0/28673/12979"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.0,35.012002043160706],[135.0,35.00300339527671],[135.010986328125,35.00300339527671],[135.010986328125,35.012002043160706],[135.0,35.012002043160706]]]},"properties":{"base":2048,"height":2048,"code":"15/1/28672/12978"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.0,35.00300339527671],[135.0,34.99400375757576],[135.010986328125,34.99400375757576],[135.010986328125,35.00300339527671],[135.0,35.00300339527671]]]},"properties":{"base":2048,"height":2048,"code":"15/1/28672/12979"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.010986328125,35.012002043160706],[135.010986328125,35.00300339527671],[135.02197265625,35.00300339527671],[135.02197265625,35.012002043160706],[135.010986328125,35.012002043160706]]]},"properties":{"base":2048,"height":2048,"code":"15/1/28673/12978"}}
{"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[135.010986328125,35.00300339527671],[135.010986328125,34.99400375757576],[135.02197265625,34.99400375757576],[135.02197265625,35.00300339527671],[135.010986328125,35.00300339527671]]]},"properties":{"base":2048,"height":2048,"code":"15/1/28673/12979"}}

Thanks

About

first ruby implementation of zfxy

https://unvt.github.io/zfxy-ruby/

License:MIT License


Languages

Language:Ruby 100.0%