Advertisement
Guest User

Untitled

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