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

pw p.willis at telus.net
Thu Mar 20 18:19:17 EDT 2008


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