value dependent symbol size

Attila Berényi aberenyi at BURKEN.HU
Mon Dec 10 07:16:57 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Solved! :)

LAYER
    GROUP "Point"
    NAME "Point"
    TYPE POINT
    STATUS ON
    CONNECTIONTYPE OGR
    CONNECTION "point.ovf"
    DATA "point"
    CLASS
      STYLE
        SYMBOL 'Circle'
        COLOR 0 0 255
        SIZE "<the column containing the size information; have to be
queried through OGR>"
      END
    END
    TOLERANCE 5
  END # Layer

Attila

Attila Berényi írta:
> Hi,
>
> Is it possible to scale a symbol depending on a MySQL attribute or
> any other expression? For example: LAYER GROUP "Point" NAME "Point"
>  TYPE POINT STATUS ON CONNECTIONTYPE OGR CONNECTION "point.ovf"
> DATA "point" CLASS STYLE SYMBOL 'Circle' COLOR 0 0 255 SIZE* [an
> attribute dependent expression here]* END END TOLERANCE 5 END #
> Layer
>
> or:
>
> LAYER NAME 'inline_circles' TYPE CIRCLE STATUS ON FEATURE POINTS *
> [define the points from MySQL here somehow...]* END END CLASS STYLE
>  COLOR 0 0 255 END END END
>
> Thanks in advance,
>
> Attila
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXVhp76iTSmN9z2ARAupRAJ0RKTDhd+gSpDri0KSL2CwtaqFO/QCeKgIi
uSDRYZ+OMYFbXxo5cbWzSck=
=NKE0
-----END PGP SIGNATURE-----



More information about the MapServer-users mailing list