[mapguide-users] StatusScale issue in scale ranges

Rodolfo Moreno rmoreno at voxiva.com
Mon Oct 6 12:50:41 EDT 2008


Thanks Jason for your explanation and I agree about the current behavior now
that I already understood how it works.

Regards,


Jason Birch wrote:
> 
> I'd suggest trying:
> 
> 0-15000
> 15000-Infinity
> 
> Or
> 
> 0-15001
> 15001-Infinity
> 
> Depending on whether you want the lower or the upper rule to display at
> 1:15000.  Otherwise, you're leaving a gap of 1.0 in your scale range.
> 
> MapGuide can't display both the lower 15000 and the upper 15000 at the
> same time, so the developers had to choose one.  I'm guessing that the
> code does something like
> 
> lowerbounds <= n < upperbounds
> 
> A bit of Google Code Search shows this around line 709 of
> MappingUtil.cpp in the Mapping Service, confirming my guess:
> 
> // make sure we have a valid scale range 
> if (scale >= dl->GetMinScale() && scale < dl->GetMaxScale())
> 
> http://tinyurl.com/4yhnwc
> 
> Note, this isn't a bug.  I'll be really annoyed if someone "fixes" this,
> as it is now my expected behaviour.
> 
> Jason
> 
> -----Original Message-----
> From: Rodolfo Moreno
> Subject: Re: [mapguide-users] StatusScale issue in scale ranges
> 
> I have two scale ranges
> 0-15000
> 15001 - infinite
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 


-----
Rodolfo Moreno
CivilEng

-- 
View this message in context: http://n2.nabble.com/StatusScale-issue-in-scale-ranges-tp1142302p1301345.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list