Guest User

MapProxy sample configuration file

a guest
Mar 14th, 2011
1,478
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #MapProxy sample configuration file
  2.  
  3. services:
  4. demo:
  5. kml:
  6. tms:
  7. wms:
  8. srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:4258']
  9. image_formats: ['image/jpeg', 'image/png']
  10. md:
  11. title: MapProxy WMS Proxy geomatic sample
  12. abstract: This a geomatic sample of the fantastic MapProxy server
  13. online_resource: http://geomaticblog.net
  14. contact:
  15. person: Rufus T Firefly
  16. position: blogger
  17. organization: http://geomaticblog.net
  18. email: jsanz[at]geomaticblog.net
  19. fees: 'None'
  20.  
  21. layers:
  22. - name: osm
  23. title: OpenStreetMap WMS
  24. sources: [osm_cache]
  25. - name: pnoa
  26. title: PNOA
  27. sources: [pnoa_cache]
  28.  
  29. caches:
  30. osm_cache:
  31. grids: [global_mercator_osm]
  32. sources: [osm_tms]
  33. pnoa_cache:
  34. grids: [grid_pnoa]
  35. sources: [pnoa_wmsc]
  36. meta_size: [1,1]
  37. meta_buffer: 0
  38.  
  39. sources:
  40. osm_tms:
  41. type: tile
  42. url: http://c.tile.openstreetmap.org/%(tms_path)s.png
  43. origin: nw
  44. pnoa_wmsc:
  45. type: wms
  46. supported_format: image/jpeg
  47. supported_srs: ['EPGS:4258']
  48. req:
  49. url: http://www.idee.es/wms-c/PNOA/PNOA
  50. layers: PNOA
  51. format: image/jpeg
  52. transparent: false
  53.  
  54. grids:
  55. global_mercator_osm:
  56. base: GLOBAL_MERCATOR
  57. num_levels: 18
  58. grid_pnoa:
  59. base: GLOBAL_GEODETIC
  60. srs: EPSG:4258
  61. tile_size: [256,256]
  62. bbox: [-180, -90, 180, 90]
  63. num_levels: 20
  64. min_res: 0.703125
  65.  
  66. globals:
  67. image:
  68. resampling_method: nearest
RAW Paste Data