[mapserver-users] Color ramps with polygons vs raster

Jörg Thomsen jt at mapmedia.de
Mon Dec 7 23:01:42 PST 2015


Am 07.12.2015 um 23:17 schrieb Heidi Ochis:
> Can you give a polygon file (values 1 - 50) a graduated color ramp using
> a class expression?

more or less, this works:
> CLASS
>   NAME 'roads'
>     STYLE
>       WIDTH 3
>       COLORRANGE 0 0 255 255 0 0   #color start RGB and end RGB
>       DATARANGE 0 50  #the data range is normally set to the class expression range
>       RANGEITEM "maxspeed" # maxspeed­value in osm­dataset
>     END
>   END

Jörg

>
> Heidi
> Computer Terrain Mapping, Inc
> 420 21st Ave, Suite 114
> Longmont, CO 80501
> 303-444-1670
> hiho at ctmap.com <mailto:hiho at ctmap.com>
>
>
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



More information about the mapserver-users mailing list