[MAPSERVER-USERS] agg and line widths

DNC dncarreira at gmail.com
Sat Mar 29 05:22:55 PDT 2008


Hi.

I'm having trouble getting thin lines to draw. The thinnest line I get seems
to be 2 pixels wide at least. Using GD the lines are indeed 1 pixel. Anyone
can point out why this happens?

Some sections from the map file:
OUTPUTFORMAT
 NAME 'AGG_Q'
 DRIVER AGG/PNG
 MIMETYPE "image/png"
 IMAGEMODE RGB
 FORMATOPTION "QUANTIZE_FORCE=ON"
 FORMATOPTION "QUANTIZE_DITHER=OFF"
 FORMATOPTION "QUANTIZE_COLORS=256"
END
  LAYER
    NAME 'test'
    GROUP "test group"
    TYPE POLYGON
    #MINSCALE 250000
    CONNECTIONTYPE postgis
    CONNECTION 'bla'
    PROCESSING "CLOSE_CONNECTION=DEFER"
    DATA 'the_geom from table using unique gid'
    #FILTER ''
    METADATA
      'wms_title'           'some layer'
      "ows_abstract"    "some text"
      'wms_srs'             'EPSG:27492'
      "wms_opaque"    "0"
      "wms_group_title" "group title"
      "wms_group_abstract" "group text"
    END
    STATUS ON
    TRANSPARENCY 100
    PROJECTION
    'init=epsg:27492'
    END
    EXTENT -23893.143277 -173568.018533 62541.864515 -70038.622014
    MINSCALE 1
#    MAXSCALE 100000
    # data is queryable
    DUMP TRUE
    HEADER   /ms_ogc_workshop/templates/rivers_query_header.html
    TEMPLATE /ms_ogc_workshop/templates/rivers_query_body.html
    # fuzziness for querying
    TOLERANCE 5
    CLASS
       NAME 'outlines' 
       STYLE
         WIDTH 1
         OUTLINECOLOR 232 232 232
       END
    END
  END

Regards,
Duarte
-- 
View this message in context: http://www.nabble.com/agg-and-line-widths-tp16369480p16369480.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list