[fusion-users] Re: Unable to display map using fusion

badrul badruls007 at yahoo.com
Wed Apr 11 02:05:15 EDT 2012


Hi mike as suggested by you that i should use MAP as first token in my
mapfile, but MAP is already first token in my mapfil, below is the mapfile i
am using:

MAP
  NAME "uktest2"
  # Map image size
  SIZE 9900 8000
  UNITS meters
  SHAPEPATH "C:\UKBoundary\UKBoundary.shp"
 
    
 EXTENT -689447.628994 -22878.477049 1344447.892830 1250227.410037
 
  FONTSET 'C:\fonts.txt'
  SYMBOLSET 'C:\symbols.txt'

  # Background color for the map canvas -- change as desired
  IMAGECOLOR 240 255 240
  IMAGEQUALITY 95
  IMAGETYPE agg

  OUTPUTFORMAT
    NAME agg
    DRIVER AGG/PNG
    IMAGEMODE RGB
  END

  LAYER
    NAME "UKBoundary"
    	
    DATA UKBoundary
    STATUS DEFAULT
    TYPE LINE
    CLASS
       NAME 'UKBoundary' 
       STYLE
         WIDTH 4.36 
         COLOR 0 0 0  #255 140 0
        OUTLINECOLOR 94 150 193
       END
    END
  END

  LAYER
    NAME 'LiveSites'
    TYPE POINT
    DUMP true
    EXTENT 492264.819731 239288.251847 568064.802479 287960.850589
    DATA '../../Documents and
Settings/bght1924/Desktop/LiveSites/LiveSites.shp'
    #SHAPEPATH "C:\UKBoundary\LiveSites.shp"
    METADATA
      'ows_title' 'LiveSites'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    CLASS
       NAME 'LiveSites' 
       STYLE
         SYMBOL "circle" 
         SIZE 7.0 
         OUTLINECOLOR 0 0 0
         COLOR 157 88 159
       END
    END
  END
END


Also should i include 

<MapFile>/ukoutline.map</MapFile>  in ApplicationDefinition.xml file rather
than  

<MapFile>/ms4w/Apache/htdocs/ukoutline.map</MapFile> 

             

-----
Thanks & Regards 
Badrul
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Unable-to-display-map-using-fusion-tp4715312p4815882.html
Sent from the Fusion Users mailing list archive at Nabble.com.


More information about the fusion-users mailing list