[ka-Map-users] way to version 1.1

Zak James zak4ms at gmail.com
Thu Aug 30 10:27:05 EDT 2007


We've been using ka-map with mapserver 5 betas quite extensively and I
can't recall any cases where we had to modify the php mapscript code.

zak

On 8/30/07, Daniel Morissette <dmorissette at mapgears.com> wrote:
> Paul Spencer wrote:
> >
> > /* Tell MapServer to not render labels inside the metaBuffer area
> >  * (new in 4.6)
> >  * TODO: Until MapServer bugs 1353/1355 are resolved, we need to
> >  * pass a negative value for "labelcache_map_edge_buffer"
> >  */
> > $oMap->setMetadata("labelcache_map_edge_buffer", -$metaBuffer);
> >
> > Do you know if this will change in 5.0?
> >
>
> No. I'm not aware of any change on that front.
>
>
> > Also, it would be convenient if there was a way in mapscript (all
> > languages) to do something like:
> >
> > if (ms_VersionLessThan(5,0,0)) {
> > } else {
> > }
> >
>
> Good idea. Did I just say "no more changes in 5.0"?
>
> I think this one is non-disruptive and would be worthwhile. Instead of a
> ms_VersionLessThan() I'd propose a new ms_GetVersionInt() that returns
> the version x.y.z as an integer (x*0x10000 + y*0x100 + z). For instance,
> v5.0.0 would be 0x50000 and v4.10.3 would be 0x40a03. Then you can do
> integer comparisons yourself:
>
>   if (msGetVersionInt() < 0x50000) {
>   } else {
>   }
>
> Whadyathink?
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>


-- 
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the ka-Map-users mailing list