Guest User

Untitled

a guest
Jun 3rd, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. On 2016-05-31 11:53 AM, Jeff McKenna wrote:
  2. > Here is a clip of my layer:
  3. >
  4. > CLASSGROUP "red"
  5. > CLASS
  6. > NAME "countries-red"
  7. > GROUP "red"
  8. > STYLE
  9. > COLOR 240 0 0
  10. > OUTLINECOLOR 199 199 199
  11. > END
  12. > END
  13. > CLASS
  14. > NAME "countries-green"
  15. > GROUP "green"
  16. > STYLE
  17. > COLOR 0 255 0
  18. > OUTLINECOLOR 199 199 199
  19. > END
  20. > END
  21. >
  22. > and here is a clip of the GetCapabilities:
  23. >
  24. > <Style>
  25. > <Name>red</Name>
  26. > <Title>red</Title>
  27. > <LegendURL width="113" height="20">
  28. > <Format>image/png</Format>
  29. > <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
  30. > xlink:type="simple"
  31. > xlink:href="http://127.0.0.1/cgi-bin/mapserv.exe?MAP=/ms4w/apps/openlayers-3.15.1/examples/map/wms-server.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=countries&amp;format=image/png&amp;STYLE=red"/>
  32. >
  33. > </LegendURL>
  34. > </Style>
  35. > <Style>
  36. > <Name>green</Name>
  37. > <Title>green</Title>
  38. > <LegendURL width="113" height="20">
  39. > <Format>image/png</Format>
  40. > <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
  41. > xlink:type="simple"
  42. > xlink:href="http://127.0.0.1/cgi-bin/mapserv.exe?MAP=/ms4w/apps/openlayers-3.15.1/examples/map/wms-server.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=countries&amp;format=image/png&amp;STYLE=green"/>
  43. >
  44. > </LegendURL>
  45. > </Style>
  46. >
  47. >
  48. >
  49. > -jeff
  50. >
  51. >
  52. >
Advertisement
Add Comment
Please, Sign In to add comment