Advertisement
Guest User

Untitled

a guest
Feb 13th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. LAYER
  2. NAME "ch.swisstopo.lubis-bildstreifen"
  3. TYPE LINE
  4. STATUS ON
  5. CONNECTIONTYPE POSTGIS
  6. CONNECTION "user=**** password=**** dbname=lubis_master host=**** port=****"
  7. DATA "the_geom from (
  8. SELECT
  9. the_geom
  10. , filmart
  11. , firma
  12. , flugdatum
  13. , objectid
  14. , resolution
  15. , bildstreifen_nr
  16. , bildstreifen_nr as id
  17. , bgdi_flugjahr
  18. , area
  19. , gsd
  20. , toposhop_length
  21. , toposhop_start_x
  22. , toposhop_start_y
  23. , toposhop_end_x
  24. , toposhop_end_y
  25. , toposhop_date
  26. , goal
  27. , georef_source as source_georef
  28. from ads40.view_bildstreifen
  29. WHERE
  30. firma like 'swisstopo'
  31. order by resolution desc
  32. ) AS bla USING UNIQUE bildstreifen_nr USING SRID=2056"
  33. TEMPLATE "GetFeatureInfo"
  34. TOLERANCE 10
  35. METADATA
  36. "wms_enable_request" "*"
  37. "wms_title" "lubis_bildstreifen"
  38. "wms_extent" "2100000 1050000 2850000 1400000"
  39. "wms_timeextent" "2005/2022"
  40. "wms_timeitem" "flugdatum"
  41. #"wms_timedefault" "2005/2022"
  42. "ows_include_items" "id,flugdatum,firma,filmart,bgdi_flugjahr,resolution,objectid,area,gsd,toposhop_length,toposhop_start_x,toposhop_start_y,toposhop_end_x,toposhop_end_y,toposhop_date,goal,source_georef"
  43. END
  44. CLASS
  45. NAME "resolution_10"
  46. EXPRESSION ( [resolution] <= 0.1 )
  47. MINSCALEDENOM 900001
  48. STYLE
  49. COLOR 255 255 255
  50. WIDTH 2
  51. END
  52. STYLE
  53. COLOR 138 220 247
  54. WIDTH 1
  55. END
  56. END
  57. CLASS
  58. NAME "resolution_10"
  59. EXPRESSION ( [resolution] <= 0.1 )
  60. MAXSCALEDENOM 900000
  61. STYLE
  62. COLOR 255 255 255
  63. WIDTH 5
  64. END
  65. STYLE
  66. COLOR 138 220 247
  67. WIDTH 3
  68. END
  69. END
  70. CLASS
  71. NAME "resolution_25"
  72. EXPRESSION ( ( [resolution] <= 0.25 ) AND ( [resolution] > 0.1 ) )
  73. MINSCALEDENOM 900001
  74. STYLE
  75. COLOR 255 255 255
  76. WIDTH 2
  77. END
  78. STYLE
  79. COLOR 255 0 0
  80. WIDTH 1
  81. END
  82. END
  83. CLASS
  84. NAME "resolution_25"
  85. EXPRESSION ( ( [resolution] <= 0.25 ) AND ( [resolution] > 0.1 ) )
  86. MAXSCALEDENOM 900000
  87. STYLE
  88. COLOR 255 255 255
  89. WIDTH 5
  90. END
  91. STYLE
  92. COLOR 255 0 0
  93. WIDTH 3
  94. END
  95. END
  96. CLASS
  97. NAME "resolution_50"
  98. EXPRESSION ( ( [resolution] <= 0.5 ) AND ( [resolution] > 0.25 ) )
  99. MINSCALEDENOM 900001
  100. STYLE
  101. COLOR 255 255 255
  102. WIDTH 2
  103. END
  104. STYLE
  105. COLOR 0 0 255
  106. WIDTH 1
  107. END
  108. END
  109. CLASS
  110. NAME "resolution_50"
  111. EXPRESSION ( ( [resolution] <= 0.5 ) AND ( [resolution] > 0.25 ) )
  112. MAXSCALEDENOM 900000
  113. STYLE
  114. COLOR 255 255 255
  115. WIDTH 5
  116. END
  117. STYLE
  118. COLOR 0 0 255
  119. WIDTH 3
  120. END
  121. END
  122. PROJECTION
  123. "init=epsg:2056"
  124. END
  125. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement