Slippy?map?tilenames(
瓦片和經緯度換算
)
This?article?describes?the?file?naming?conventions?for?the
Slippy?Map?application.Tiles?are?256?×
256?pixel?PNG?filesEach
zoom?level?is?a?directory,?each?column?is?a?subdirectory,?and
each?tile?in?that?column?is?a?fileFilename(url)?format?is
/zoom/x/y.pngThe?slippy?map?expects?tiles?to?be?served?up?at
URLs?following?this?scheme,?so?all?tile?server?URLs?look?pretty
similar.
目錄
[
隱藏
]?1?Tile?servers2?Zoom?levels3?X?and?Y4
Derivation?of?tile?names5?Implementations5.1?Pseudo-code5.1.1
Lon./lat.?to?tile?numbers5.1.2?Tile?numbers?to?lon./lat.5.2
Mathematics5.3?Python5.3.1?Lon./lat.?to?tile?numbers5.3.2?Tile
numbers?to?lon./lat.5.4?Ruby5.4.1?Lon./lat.?to?tile?numbers5.4.2
Tile?numbers?to?lon./lat.5.5?Perl5.5.1?Lon./lat.?to?tile
numbers5.5.2?Tile?numbers?to?lon./lat.5.5.3?Lon./lat.?to?bbox5.6
PHP5.6.1?Lon./lat.?to?tile?numbers5.6.2?Tile?numbers?to
lon./lat.5.7?ECMAScript?(JavaScript/ActionScript,?etc.)5.8
C/C++5.9?Go5.10?Java5.10.1?Tile?bounding?box5.11
VB.Net5.12?C#5.13?XSLT5.14?Haskell5.15?Scala5.16
Revolution/Transcript5.17?Mathematica5.18?Tcl5.18.1?Lat./lon.
to?tile?number5.18.2?Tile?number?to?lat/lon5.19?Pascal5.19.1
Coordinates?to?tile?numbers5.19.2?Tile?numbers?to