Advertisement
Guest User

Untitled

a guest
May 13th, 2012
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None
  1. <Style name="contours10">
  2. <Rule>
  3. <MaxScaleDenominator>51185</MaxScaleDenominator>
  4. <MinScaleDenominator>1599</MinScaleDenominator>
  5. <LineSymbolizer>
  6. <CssParameter name="stroke">#9cb197</CssParameter>
  7. <CssParameter name="stroke-width">0.5</CssParameter>
  8. </LineSymbolizer>
  9. </Rule>
  10. </Style>
  11. <Style name="contours50">
  12. <Rule>
  13. <MaxScaleDenominator>204741</MaxScaleDenominator>
  14. <MinScaleDenominator>51185</MinScaleDenominator>
  15. <LineSymbolizer>
  16. <CssParameter name="stroke">#9cb197</CssParameter>
  17. <CssParameter name="stroke-width">0.6</CssParameter>
  18. </LineSymbolizer>
  19. </Rule>
  20. <Rule>
  21. <MaxScaleDenominator>51185</MaxScaleDenominator>
  22. <MinScaleDenominator>1599</MinScaleDenominator>
  23. <LineSymbolizer>
  24. <CssParameter name="stroke">#747b90</CssParameter>
  25. <CssParameter name="stroke-width">0.6</CssParameter>
  26. </LineSymbolizer>
  27. </Rule>
  28. </Style>
  29. <Style name="contours100">
  30. <Rule>
  31. <MaxScaleDenominator>409483</MaxScaleDenominator>
  32. <MinScaleDenominator>204741</MinScaleDenominator>
  33. <LineSymbolizer>
  34. <CssParameter name="stroke">#9cb197</CssParameter>
  35. <CssParameter name="stroke-width">0.7</CssParameter>
  36. </LineSymbolizer>
  37. </Rule>
  38. <Rule>
  39. <MaxScaleDenominator>204741</MaxScaleDenominator>
  40. <MinScaleDenominator>51185</MinScaleDenominator>
  41. <LineSymbolizer>
  42. <CssParameter name="stroke">#747b90</CssParameter>
  43. <CssParameter name="stroke-width">0.7</CssParameter>
  44. </LineSymbolizer>
  45. </Rule>
  46. <Rule>
  47. <MaxScaleDenominator>51185</MaxScaleDenominator>
  48. <MinScaleDenominator>1599</MinScaleDenominator>
  49. <LineSymbolizer>
  50. <CssParameter name="stroke">#855d62</CssParameter>
  51. <CssParameter name="stroke-width">0.7</CssParameter>
  52. </LineSymbolizer>
  53. </Rule>
  54. </Style>
  55. <Style name="contours-text50">
  56. <Rule>
  57. <MaxScaleDenominator>51185</MaxScaleDenominator>
  58. <MinScaleDenominator>1599</MinScaleDenominator>
  59. <TextSymbolizer name="height" face_name="DejaVu Sans Book" size="8" fill="#747b90" halo_radius="1" placement="line" />
  60. </Rule>
  61. </Style>
  62. <Style name="contours-text100">
  63. <Rule>
  64. <MaxScaleDenominator>102370</MaxScaleDenominator>
  65. <MinScaleDenominator>51185</MinScaleDenominator>
  66. <TextSymbolizer name="height" face_name="DejaVu Sans Book" size="8" fill="#747b90" halo_radius="1" placement="line" />
  67. </Rule>
  68. <Rule>
  69. <MaxScaleDenominator>51185</MaxScaleDenominator>
  70. <MinScaleDenominator>1599</MinScaleDenominator>
  71. <TextSymbolizer name="height" face_name="DejaVu Sans Book" size="8" fill="#855d62" halo_radius="1" placement="line" />
  72. </Rule>
  73. </Style>
  74.  
  75.  
  76. <Layer name="srtm_10" status="on" srs="&osm2pgsql_projection;">
  77. <StyleName>contours10</StyleName>
  78. <StyleName>contours-text10</StyleName>
  79. <Datasource>
  80. <Parameter name="table">(SELECT way,height FROM contours WHERE height::integer % 10 = 0 AND height::integer % 50 != 0 AND height::integer % 100 != 0) AS "contours-10"</Parameter>
  81. &datasource-settings;
  82. </Datasource>
  83. </Layer>
  84. <Layer name="srtm_50" status="on" srs="&osm2pgsql_projection;">
  85. <StyleName>contours50</StyleName>
  86. <StyleName>contours-text50</StyleName>
  87. <Datasource>
  88. <Parameter name="table">(SELECT way,height FROM contours WHERE height::integer % 50 = 0 AND height::integer % 100 != 0) AS "contours-50"</Parameter>
  89. &datasource-settings;
  90. </Datasource>
  91. </Layer>
  92. <Layer name="srtm_100" status="on" srs="&osm2pgsql_projection;">
  93. <StyleName>contours100</StyleName>
  94. <StyleName>contours-text100</StyleName>
  95. <Datasource>
  96. <Parameter name="table">(SELECT way,height FROM contours WHERE height::integer % 100 = 0) AS "contours-100"</Parameter>
  97. &datasource-settings;
  98. </Datasource>
  99. </Layer>
Advertisement
RAW Paste Data Copied
Advertisement