[mapserver-dev] Re: does MapObj->scale exist in mapserver 5.0.2 [RESOLVED]

pw p.willis at telus.net
Thu Mar 20 18:26:25 EDT 2008


Hello again,

Looks like I should fgrep more often before asking questions:

fgrep -R scale * | less
.
.
.
.
HISTORY.TXT:  scale becomes scaledenom, .....
               ^^^^^^^^^^^^^^^^^^^^^^^^

Thanks for letting me muddle,

Peter

pw wrote:
> Hello,
> 
> I am transferring some custom code from version 4.10.1 to 5.0.2
> of mapserver.
> 
> Specifically in  'mapserv.c' I am alerted during compilation using 
> msObj->Map->scale :
> 
> "structure has no member named `scale'"
> 
> This refers to the disappearance of mapObj->scale
> 
> For those looking: 'map.h' (4.10.1) is now  'mapserver.h' (5.0.2).
> 
> I am wondering why the 'scale' member has been removed
> from the map_obj struct. I see that the fixed struct definition
> has been replaced by a typedef struct declaration.
> Good work on that who ever that was!!!
> 
> Is there a method to query the scale of a map from
> the map object now?
> 
> 
> Thanks for any information.
> 
> Peter
> 





More information about the mapserver-dev mailing list