Advertisement
Guest User

Untitled

a guest
Oct 14th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. MAP
  2. NAME "QGIS-MAP"
  3. # Map image size
  4. SIZE 600 600
  5. UNITS meters
  6.  
  7. EXTENT 22.542467 -35.286152 30.374396 -28.929508
  8. FONTSET './msfontset.txt'
  9. #SYMBOLSET './symbols/symbols.txt'
  10. CONFIG "PROJ_LIB" "C:/proj/nad/"
  11. PROJECTION
  12. "init=epsg:4148"
  13. ##"init=epsg:900913"
  14. END
  15.  
  16.  
  17.  
  18. # Background color for the map canvas -- change as desired
  19. IMAGECOLOR 255 255 255
  20. IMAGEQUALITY 95
  21. IMAGETYPE agg
  22.  
  23. OUTPUTFORMAT
  24. NAME agg
  25. DRIVER AGG/PNG
  26. IMAGEMODE RGB
  27. END
  28. # Legend
  29. LEGEND
  30. IMAGECOLOR 255 255 255
  31. STATUS ON
  32. KEYSIZE 18 12
  33. LABEL
  34. TYPE BITMAP
  35. SIZE MEDIUM
  36. COLOR 0 0 89
  37. END
  38. END
  39.  
  40. # Web interface definition. Only the template parameter
  41. # is required to display a map. See MapServer documentation
  42. WEB
  43. # Set IMAGEPATH to the path where MapServer should
  44. # write its output.
  45. IMAGEPATH '/tmp/'
  46.  
  47. # Set IMAGEURL to the url that points to IMAGEPATH
  48. # as defined in your web server configuration
  49. IMAGEURL '/tmp/'
  50.  
  51. # WMS server settings
  52. METADATA
  53. 'ows_title' 'QGIS-MAP'
  54. 'ows_onlineresource' 'http://192.168.1.95/cgi-bin/mapserv.exe?map=C:/myprojects/mun.map'
  55. 'ows_srs' 'EPSG:4148'
  56. END
  57.  
  58. #Scale range at which web interface will operate
  59. # Template and header/footer settings
  60. # Only the template parameter is required to display a map. See MapServer documentation
  61. TEMPLATE 'fooOnlyForWMSGetFeatureInfo'
  62. END
  63.  
  64. LAYER
  65. NAME 'Municipality'
  66. TYPE POLYGON
  67. DUMP true
  68. TEMPLATE fooOnlyForWMSGetFeatureInfo
  69. EXTENT 22.542467 -35.286152 30.374396 -28.929508
  70. DATA './Municipality.shp'
  71. METADATA
  72. 'ows_title' 'Municipality'
  73. END
  74. STATUS OFF
  75. TRANSPARENCY 100
  76. PROJECTION
  77. "init=epsg:4148"
  78. END
  79.  
  80. CLASS
  81. NAME 'Municipality'
  82. STYLE
  83. WIDTH 0.91
  84. OUTLINECOLOR 0 0 0
  85. END
  86. END
  87. END
  88.  
  89. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement