Commit 2b64264f133149ed4c7c0ac8756997500ec46d48
1 parent
3678804f
Exists in
master
and in
7 other branches
Acrescentado outputformat para uso do AGG
Showing
2 changed files
with
36 additions
and
1 deletions
Show diff stats
aplicmap/geral1.map
| ... | ... | @@ -11,6 +11,24 @@ MAP |
| 11 | 11 | UNITS DD |
| 12 | 12 | NAME "GERAL" |
| 13 | 13 | DEBUG OFF |
| 14 | + | |
| 15 | + #utilize o agg apenas com mapserver 5x | |
| 16 | + #24 bit png (high quality, large file size): | |
| 17 | + OUTPUTFORMAT | |
| 18 | + NAME 'AGG' | |
| 19 | + DRIVER AGG/PNG | |
| 20 | + IMAGEMODE RGB | |
| 21 | + END | |
| 22 | + #png output, with number of colors reduced with quantization . ( Note: this functionality is not supported with RGBA images, that is outputformats with IMAGEMODE RGBA, or maps with TRANSPARENT ON ) : | |
| 23 | + OUTPUTFORMAT | |
| 24 | + NAME 'AGG_Q' | |
| 25 | + DRIVER AGG/PNG | |
| 26 | + IMAGEMODE RGB | |
| 27 | + FORMATOPTION "QUANTIZE_FORCE=ON" | |
| 28 | + FORMATOPTION "QUANTIZE_DITHER=OFF" | |
| 29 | + FORMATOPTION "QUANTIZE_COLORS=256" | |
| 30 | + END | |
| 31 | + | |
| 14 | 32 | OUTPUTFORMAT |
| 15 | 33 | NAME png1 |
| 16 | 34 | MIMETYPE image/png | ... | ... |
aplicmap/geral1windows.map
| ... | ... | @@ -4,13 +4,29 @@ MAP |
| 4 | 4 | SYMBOLSET "c:\ms4w\apache\htdocs\i3geo/symbols/simbolos.sym" |
| 5 | 5 | SHAPEPATH "c:\ms4w\apache\htdocs\geodados" |
| 6 | 6 | IMAGECOLOR 157 211 255 |
| 7 | - IMAGETYPE png2 | |
| 7 | + IMAGETYPE AGG_Q | |
| 8 | 8 | EXTENT -76.5125927 -39.3925675209 -29.5851853 9.49014852081 |
| 9 | 9 | SIZE 480 500 |
| 10 | 10 | STATUS ON |
| 11 | 11 | UNITS DD |
| 12 | 12 | NAME "GERAL" |
| 13 | 13 | DEBUG OFF |
| 14 | + #utilize o agg apenas com mapserver 5x | |
| 15 | + #24 bit png (high quality, large file size): | |
| 16 | + OUTPUTFORMAT | |
| 17 | + NAME 'AGG' | |
| 18 | + DRIVER AGG/PNG | |
| 19 | + IMAGEMODE RGB | |
| 20 | + END | |
| 21 | + #png output, with number of colors reduced with quantization . ( Note: this functionality is not supported with RGBA images, that is outputformats with IMAGEMODE RGBA, or maps with TRANSPARENT ON ) : | |
| 22 | + OUTPUTFORMAT | |
| 23 | + NAME 'AGG_Q' | |
| 24 | + DRIVER AGG/PNG | |
| 25 | + IMAGEMODE RGB | |
| 26 | + FORMATOPTION "QUANTIZE_FORCE=ON" | |
| 27 | + FORMATOPTION "QUANTIZE_DITHER=OFF" | |
| 28 | + FORMATOPTION "QUANTIZE_COLORS=256" | |
| 29 | + END | |
| 14 | 30 | OUTPUTFORMAT |
| 15 | 31 | NAME png1 |
| 16 | 32 | MIMETYPE image/png |
| ... | ... | @@ -30,6 +46,7 @@ MAP |
| 30 | 46 | TRANSPARENT FALSE |
| 31 | 47 | FORMATOPTION "INTERLACE=OFF" |
| 32 | 48 | END |
| 49 | + | |
| 33 | 50 | PROJECTION |
| 34 | 51 | "init=epsg:4291" |
| 35 | 52 | END | ... | ... |