[Geomoose-users] Output format AGG?

Bob Basques Bob.Basques at ci.stpaul.mn.us
Mon Jan 12 18:00:20 EST 2009


Sacha,

You need to make sure your MapServer install has 
AGG compiled in.

Here is a MapFile fragment for AGG that I have that works:

MAP
  NAME 'label_shields'
  SIZE 800 650
  STATUS ON
  EXTENT 332000 -18000 678000 328000
  UNITS FEET
  FONTSET ./interstate.fonts
  SYMBOLSET ./interstate.symbols
  TRANSPARENT TRUE
  #IMAGECOLOR 239 235 231 #GOOGLE BG COLOR
  
  #IMAGETYPE PNG  ## This uses the MapServer GD image builder
  IMAGETYPE AGGA  ## This uses the AGG image builder if compiled into MapServer.  It's defined below.

	LEGEND
		STATUS ON
		KEYSPACING 5 10
		KEYSIZE 20 12
		IMAGECOLOR 255 255 255
		LABEL
		  TYPE TRUETYPE
                  FONT bluehigh
                  COLOR 0 0 0
                  OUTLINECOLOR 254 254 254
                  SIZE 12
		END
	END
	
  OUTPUTFORMAT
    NAME 'AGGA'
    DRIVER AGG/PNG
    IMAGEMODE RGBA
    #FORMATOPTION "TRANSPARENT=ON"
    #TRANSPARENT ON
  END
  
  OUTPUTFORMAT
    NAME 'AGG_Q'
    DRIVER AGG/PNG
    IMAGEMODE RGBA
    FORMATOPTION "QUANTIZE_FORCE=ON"
    FORMATOPTION "QUANTIZE_DITHER=OFF"
    FORMATOPTION "QUANTIZE_COLORS=255"
    TRANSPARENT ON
  END

. . . . .



>>> "Sacha Black" <sacha.black at gmail.com> 01/12/09 4:46 PM >>>
hi all,

is it possible to get GeoMoose to request it's images from Mapserver
with AGG rendering? I tried putting this in my map files:

  OUTPUTFORMAT
   DRIVER AGG/PNG
   IMAGEMODE RGBA
  END

but it didn't seem to make a difference... is there someplace to set
this besides the map file?

sacha

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users





More information about the Geomoose-users mailing list