[mapserver-dev] Re: Class object and Label object

Yewondwossen Assefa assefa at dmsolutions.ca
Wed Oct 23 17:37:06 EDT 2002


Thanks Steve,

I run into another  problem when transfering one application from
mapserver 3.6 to 3.7 with the function msGetLabelSize that uses
label->sizescaled to fetch the bbox of the text. The label->sizescaled was
set to -1. (the label was created on the fly using mapscript : it does not
come from a map file)

>From what I understand, the sizescaled would contain the size of the label
* layer->scalefactor . Is this assumption true ? I want to understand this
before trying to fix it.

Thanks



Steve Lime wrote:

> I thought I had removed them from map.h. They're not used any more and
> should be dumped. I can do that tonite...
>
> Steve
>
> >>> Yewondwossen Assefa <assefa at dmsolutions.ca> 10/23/02 11:50AM >>>
> Hi There,
>
> Is there any reason why you kept the parameters like color,
> backgroundcolor, outlinecolor, symbol ... in the class object, instead
> of defining them only in the style object ?
>
> I am asking this beacuse I removed from the php/mapscript  the
> functions
> to set these parameters on the class object and added them for the
> style
> object.
>
> Thanks,
>
> --
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
>
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
>
> Phone: (613) 565-5056 (ext 14)
> Fax:   (613) 565-0925
> ----------------------------------------------------------------

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------






More information about the mapserver-dev mailing list