[Mapserver-dev] COLOR_MATCH_THRESHOLD

Daniel Morissette morissette at dmsolutions.ca
Fri Feb 28 16:17:59 EST 2003


Frank Warmerdam wrote:
> 
> Daniel Morissette wrote:
> > Frank Warmerdam wrote:
> >
> >>In fact, such a mechanism might be desirable for other color allocation such
> >>as that occuring due to colors loaded from vector files using the OGR "AUTO
> >>styling".   However, that is a bigger effort than I am interested in pursuing
> >>at this time.
> >>
> >
> >
> > I didn't look at the code, but perhaps it would be enough to call
> > msAddColorGD() in the OGR code?  If you think that would do the trick (I
> > can't see why not) then I'll have a look.
> 
> Daniel,
> 
> Well, we would need to get the color threshold value and pass it around too.
> The msAddColorGD() code does a few weird things, and it might needs some
> looking at before implementing.
> 

You're right, it's quite possible that the OGR STYLEITEM AUTO code needs
some work, independently of this color thing.  I'll add this to my list.

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-dev mailing list