Color range & mapscript

Frank Warmerdam warmerdam at POBOX.COM
Wed Sep 21 09:56:14 EDT 2005


On 9/21/05, Steve Hall <steve.hall at mercatorgeosystems.co.uk> wrote:
>
> Hi all,
>
> I remember reading something a while ago about "color ramps" and the mapping
> of thematic data.  I've found this info in Bugzilla :
>
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1305
>
> But was wondering if anything further had happened with it?  I'm using the
> code as it is in 4.6.0, which is working OK in and of itself, but it'd be
> really nice to be able to change the COLORRANGE & DATARANGE settings via
> PHP/MapScript, but I can't see anyway to do it.  I'm happy to upgrade to
> 4.6.1 or "cvs" if need be, and don't mind if it's "experimental" as this is
> just for a prototype / proof of concept project.
>
> |f this isn't possible right now, can anyone give me a "bullet point" list
> of how to expose attributes to PHP/MapScript and maybe i'll take a look
> myself.

Steve,

There is support for the colorrange stuff in 4.6 but it is considered
transitional.  That is we expect the syntax and details to change.
I am not aware of any mapscript bindings for the colorrange stuff.
You pretty much need to set it up from a mapfile.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-dev mailing list