Advertisement
Guest User

Untitled

a guest
Nov 28th, 2012
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. services:
  2. demo:
  3. #kml:
  4. tms:
  5. wmts:
  6. wms:
  7. srs: ['EPSG:4326', 'EPSG:2100']
  8. image_formats: ['image/png']
  9. md:
  10. # metadata used in capabilities documents
  11. title: Remote Sensing Lab WMS Proxy
  12. abstract: Build with MapProxy.
  13. online_resource: http://aiolos.survey.ntua.gr/
  14. contact:
  15. person: Angelos Tzotsos
  16. position: Researcher
  17. organization: National Technical University of Athens
  18. address: Iroon Polytechneiou 9
  19. city: Athens
  20. postcode: 15773
  21. country: Greece
  22. phone: +302107722684
  23. fax: +302107722599
  24. email: tzotsos@gmail.com
  25. access_constraints:
  26. This service is intended for private and evaluation use only.
  27. The data is licensed as Creative Commons Attribution-Share Alike 2.0
  28. (http://creativecommons.org/licenses/by-sa/2.0/)
  29. fees: 'None'
  30.  
  31. layers:
  32. - name: olp_tms
  33. title: OLP TMS Source
  34. sources: [olp_cache]
  35.  
  36. caches:
  37. osm_cache:
  38. grids: [GLOBAL_MERCATOR, global_geodetic_sqrt2]
  39. sources: [osm_wms]
  40. olp_cache:
  41. format: image/png
  42. grids: [grid_2100]
  43. sources: []
  44. cache_dir: './cache_data/olp_cache_EPSG2100'
  45. cache:
  46. type: file
  47. directory_layout: tms
  48.  
  49. # osm_cache_full_example:
  50. # meta_buffer: 20
  51. # meta_size: [5, 5]
  52. # format: image/png
  53. # request_format: image/tiff
  54. # link_single_color_images: true
  55. # use_direct_from_level: 5
  56. # grids: [grid_full_example]
  57. # sources: [osm_wms, overlay_full_example]
  58.  
  59.  
  60. sources:
  61. osm_wms:
  62. type: wms
  63. req:
  64. url: http://osm.omniscale.net/proxy/service?
  65. layers: osm
  66.  
  67. # overlay_full_example:
  68. # type: wms
  69. # concurrent_requests: 4
  70. # wms_opts:
  71. # version: 1.3.0
  72. # featureinfo: true
  73. # supported_srs: ['EPSG:4326', 'EPSG:31467']
  74. # supported_formats: ['image/tiff', 'image/jpeg']
  75. # http:
  76. # ssl_no_cert_checks: true
  77. # req:
  78. # url: https://user:password@example.org:81/service?
  79. # layers: roads,rails
  80. # styles: base,base
  81. # transparent: true
  82. # # # always request in this format
  83. # # format: image/png
  84. # map: /home/map/mapserver.map
  85.  
  86.  
  87. grids:
  88. global_geodetic_sqrt2:
  89. base: GLOBAL_GEODETIC
  90. res_factor: 'sqrt2'
  91. grid_2100:
  92. tile_size: [256, 256]
  93. srs: 'EPSG:2100'
  94. bbox: [462000.0, 4200000.0, 464000.0, 4201500.0]
  95. bbox_srs: 'EPSG:2100'
  96. origin: 'nw'
  97. min_res: 8 #m/px
  98. # max_res: 0.25 #m/px
  99. num_levels: 6
  100. # grid_full_example:
  101. # tile_size: [512, 512]
  102. # srs: 'EPSG:900913'
  103. # bbox: [5, 45, 15, 55]
  104. # bbox_srs: 'EPSG:4326'
  105. # min_res: 2000 #m/px
  106. # max_res: 50 #m/px
  107. # align_resolutions_with: GLOBAL_MERCATOR
  108. # another_grid_full_example:
  109. # srs: 'EPSG:900913'
  110. # bbox: [5, 45, 15, 55]
  111. # bbox_srs: 'EPSG:4326'
  112. # res_factor: 1.5
  113. # num_levels: 25
  114.  
  115. globals:
  116. # # coordinate transformation options
  117. # srs:
  118. # # WMS 1.3.0 requires all coordiates in the correct axis order,
  119. # # i.e. lon/lat or lat/lon. Use the following settings to
  120. # # explicitly set a CRS to either North/East or East/North
  121. # # ordering.
  122. # axis_order_ne: ['EPSG:9999', 'EPSG:9998']
  123. # axis_order_en: ['EPSG:0000', 'EPSG:0001']
  124. # # you can set the proj4 data dir here, if you need custom
  125. # # epsg definitions. the path must contain a file named 'epsg'
  126. # # the format of the file is:
  127. # # <4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs <>
  128. # proj_data_dir: '/path to dir that contains epsg file'
  129.  
  130. # # cache options
  131. cache:
  132. # where to store the cached images
  133. base_dir: './cache_data'
  134. # where to store lockfiles
  135. lock_dir: './cache_data/locks'
  136. # # request x*y tiles in one step
  137. # meta_size: [4, 4]
  138. # # add a buffer on all sides (in pixel) when requesting
  139. # # new images
  140. # meta_buffer: 80
  141.  
  142.  
  143. # image/transformation options
  144. image:
  145. resampling_method: nearest
  146. # resampling_method: bilinear
  147. # resampling_method: bicubic
  148. # jpeg_quality: 90
  149. # # stretch cached images by this factor before
  150. # # using the next level
  151. # stretch_factor: 1.15
  152. # # shrink cached images up to this factor before
  153. # # returning an empty image (for the first level)
  154. # max_shrink_factor: 4.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement