source: osm/applications/editors/josm/plugins/imagery_cachexport/README@ 33160

Last change on this file since 33160 was 33073, checked in by holgermappt, 8 years ago

Initial release of JOSM imagery_cachexport plugin.

File size: 1.6 KB
Line 
1README
2======
3
4The Imagery Cache Export plugin exports the images from the internal imagery layer store into the file system.
5
6Author: holgermappt
7License: GPL v2 or later
8
9Image imageryexport.png is a combination of save_as.png scaled to 16x16 and imagery_small.png. Both are from JOSM core, GPL v2 or later.
10
11Cache Key Rules
12---------------
13* Images in the cache are accessed with a key.
14* The key is composed of: <tile source name> + ":" + <tile ID>
15 * see TMSCachedTileLoaderJob.getCacheKey()
16* <tile source name> is the layer name with colons replaced by underscores.
17 The layer name is localized.
18* <tile ID> depends on the layer type:
19 * TMS: <imagery URL> + "/" + <zoom> + "/" + <x> + "/" + <y>
20 * WMS, WMTS: <tile URL> + <projection>
21
22Key examples:
23 TMS:
24 Bing aerial imagery:http://www.bing.com/maps/14/8816/5480
25 Mapbox Satellitenbild:http://{switch:a,b,c}.tiles.mapbox.com/v4/openstreetmap.map-inh7ifmo/{zoom}/{x}/{y}.png?access_token=abc/14/8816/5479
26 WMS:
27 SDFE Overflade Skyggekort (40 cm):http://kortforsyningen.kms.dk/dhm?login=OpenStreetMapDK2015&password=Gall4Peters&FORMAT=image/png&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&Layers=dhm_overflade_skyggekort&STYLES=&SRS=EPSG:3857&WIDTH=512&HEIGHT=512&BBOX=1037096.6940108,7514066.1667892,1056664.5724108,7533634.0451892EPSG:3857
28 WMTS:
29 Geoportal 2_ Luftbild WMTS:http://mapy.geoportal.gov.pl/wss/service/WMTS/guest/wmts/ORTO?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTOFOTOMAPA&STYLE=default&FORMAT=image/jpeg&tileMatrixSet=EPSG:4326&tileMatrix=EPSG:4326:13&tileRow=4861&tileCol=18765EPSG:4326
Note: See TracBrowser for help on using the repository browser.