StatusScale issue in scale ranges

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

StatusScale issue in scale ranges

Rodolfo Moreno

Hi all,
I got an issue in mapguide 2.0.1.
Layers with different scale ranges become invisible when you do zoom in with
the StatusScale until to achieve one of the scale ranges.
It happens with any of the viewers (AJAX, DWF or FUSION), which is why I
think that the problem is the mapguide server.
I don't know whether this issue has been solved in the 2.0.2 version

I would like to know whether someone has gotten the same problem.

Regards


-----
Rodolfo Moreno
CivilEng

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

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: StatusScale issue in scale ranges

Kenneth Skovhede, GEOGRAF A/S
Can you clarify the problem a bit?

If you have a layer with scale ranges:
0-2000 : Red dots
2001-Infinite : Blue dots

Does it change from blue to red if you type in "2000" in the status bar
at the bottom?
Does it change if you use the slider (to the same range)?
Does it change if you drag a rectange (to the same range)?
(The change is expected behavior)

If you have ranges:
0-2000
4000-Infinite

The layer will be invisible in the range [2001-3999], which is correct
behavior.

Regards, Kenneth Skovhede, GEOGRAF A/S



Rodolfo Moreno skrev:

> Hi all,
> I got an issue in mapguide 2.0.1.
> Layers with different scale ranges become invisible when you do zoom in with
> the StatusScale until to achieve one of the scale ranges.
> It happens with any of the viewers (AJAX, DWF or FUSION), which is why I
> think that the problem is the mapguide server.
> I don't know whether this issue has been solved in the 2.0.2 version
>
> I would like to know whether someone has gotten the same problem.
>
> Regards
>
>
> -----
> Rodolfo Moreno
> CivilEng
>
>  
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: StatusScale issue in scale ranges

Rodolfo Moreno

Hi Kenneth,
I know the behavior of the scale ranges.
My case is the following¨
I have two scale ranges
0-15000
15001 - infinite

when I start the map can see the layer according to 15001 - inifinte scale
range, however when you do zoom in until 15000 using the status scale the
layer disappears. When I do the same usign the slider, zoom rectangle or
zoom in tool the layer shows up according to 0-15000 scale ranges.
It happen with any of viewers (fusion, ajax or dwf).

Regards,


Kenneth Skovhede, GEOGRAF A/S wrote:

>
> Can you clarify the problem a bit?
>
> If you have a layer with scale ranges:
> 0-2000 : Red dots
> 2001-Infinite : Blue dots
>
> Does it change from blue to red if you type in "2000" in the status bar
> at the bottom?
> Does it change if you use the slider (to the same range)?
> Does it change if you drag a rectange (to the same range)?
> (The change is expected behavior)
>
> If you have ranges:
> 0-2000
> 4000-Infinite
>
> The layer will be invisible in the range [2001-3999], which is correct
> behavior.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Rodolfo Moreno skrev:
>> Hi all,
>> I got an issue in mapguide 2.0.1.
>> Layers with different scale ranges become invisible when you do zoom in
>> with
>> the StatusScale until to achieve one of the scale ranges.
>> It happens with any of the viewers (AJAX, DWF or FUSION), which is why I
>> think that the problem is the mapguide server.
>> I don't know whether this issue has been solved in the 2.0.2 version
>>
>> I would like to know whether someone has gotten the same problem.
>>
>> Regards
>>
>>
>> -----
>> Rodolfo Moreno
>> CivilEng
>>
>>  
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> 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-tp1142302p1298894.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: [ZS1] Re: StatusScale issue in scale ranges

Kenneth Skovhede, GEOGRAF A/S
That sounds VERY strange.
So you have:
15001 -> Visible
15000 -> Invisible
14999 -> Visible

But ONLY when typing the range in the scale box?
Regards, Kenneth Skovhede, GEOGRAF A/S


Rodolfo Moreno skrev:
Hi Kenneth,
I know the behavior of the scale ranges.
My case is the following¨
I have two scale ranges
0-15000
15001 - infinite

when I start the map can see the layer according to 15001 - inifinte scale
range, however when you do zoom in until 15000 using the status scale the
layer disappears. When I do the same usign the slider, zoom rectangle or
zoom in tool the layer shows up according to 0-15000 scale ranges.
It happen with any of viewers (fusion, ajax or dwf).

Regards,


Kenneth Skovhede, GEOGRAF A/S wrote:
  
Can you clarify the problem a bit?

If you have a layer with scale ranges:
0-2000 : Red dots
2001-Infinite : Blue dots

Does it change from blue to red if you type in "2000" in the status bar 
at the bottom?
Does it change if you use the slider (to the same range)?
Does it change if you drag a rectange (to the same range)?
(The change is expected behavior)

If you have ranges:
0-2000
4000-Infinite

The layer will be invisible in the range [2001-3999], which is correct 
behavior.

Regards, Kenneth Skovhede, GEOGRAF A/S



Rodolfo Moreno skrev:
    
Hi all,
I got an issue in mapguide 2.0.1.
Layers with different scale ranges become invisible when you do zoom in
with
the StatusScale until to achieve one of the scale ranges. 
It happens with any of the viewers (AJAX, DWF or FUSION), which is why I
think that the problem is the mapguide server.
I don't know whether this issue has been solved in the 2.0.2 version

I would like to know whether someone has gotten the same problem.

Regards


-----
Rodolfo Moreno
CivilEng

  
      
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users


    


-----
Rodolfo Moreno
CivilEng

  

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

RE: StatusScale issue in scale ranges

Maksim Sestic
In reply to this post by Rodolfo Moreno
Hi Rodolfo,

It's a known (?) bug, at least with MGE 2008. You better use:

0 - 15001
15002 - Infinity

set of ranges. It seems that something's broken with "inclusive" part of the
range.

Regards,
Maksim Sestic


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Rodolfo Moreno
Sent: Sunday, October 05, 2008 17:23
To: [hidden email]
Subject: Re: [mapguide-users] StatusScale issue in scale ranges


Hi Kenneth,
I know the behavior of the scale ranges.
My case is the following¨
I have two scale ranges
0-15000
15001 - infinite

when I start the map can see the layer according to 15001 - inifinte scale
range, however when you do zoom in until 15000 using the status scale the
layer disappears. When I do the same usign the slider, zoom rectangle or
zoom in tool the layer shows up according to 0-15000 scale ranges.
It happen with any of viewers (fusion, ajax or dwf).

Regards,


Kenneth Skovhede, GEOGRAF A/S wrote:

>
> Can you clarify the problem a bit?
>
> If you have a layer with scale ranges:
> 0-2000 : Red dots
> 2001-Infinite : Blue dots
>
> Does it change from blue to red if you type in "2000" in the status
> bar at the bottom?
> Does it change if you use the slider (to the same range)?
> Does it change if you drag a rectange (to the same range)?
> (The change is expected behavior)
>
> If you have ranges:
> 0-2000
> 4000-Infinite
>
> The layer will be invisible in the range [2001-3999], which is correct
> behavior.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Rodolfo Moreno skrev:
>> Hi all,
>> I got an issue in mapguide 2.0.1.
>> Layers with different scale ranges become invisible when you do zoom
>> in with the StatusScale until to achieve one of the scale ranges.
>> It happens with any of the viewers (AJAX, DWF or FUSION), which is
>> why I think that the problem is the mapguide server.
>> I don't know whether this issue has been solved in the 2.0.2 version
>>
>> I would like to know whether someone has gotten the same problem.
>>
>> Regards
>>
>>
>> -----
>> Rodolfo Moreno
>> CivilEng
>>
>>  
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> 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-tp1142302p1298894.htm
l
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3495 (20081004) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 3495 (20081004) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

RE: StatusScale issue in scale ranges

Rodolfo Moreno

Hi Maskin,
I have tried the range scales that you suggest me
and the wrong behavior continues.

I realized as well that It only happen it in the edge of the scale range (at
least for my case).
for instance:
range scales:
range1: 0-15001
range2: 15002 - inifinite

the map starts in range2. next I put 15001 (inside of the range1) in status
scale and the layer disappears. however when I put 15000 or numbers less
than 15001 the layer shows up (right behavior).

I only have tested with mapguide server 2.0.1, I don't know whether this
issue has been solved in the 2.0.2 version.

Regards,



Maksim Sestic wrote:

>
> Hi Rodolfo,
>
> It's a known (?) bug, at least with MGE 2008. You better use:
>
> 0 - 15001
> 15002 - Infinity
>
> set of ranges. It seems that something's broken with "inclusive" part of
> the
> range.
>
> Regards,
> Maksim Sestic
>
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Rodolfo
> Moreno
> Sent: Sunday, October 05, 2008 17:23
> To: [hidden email]
> Subject: Re: [mapguide-users] StatusScale issue in scale ranges
>
>
> Hi Kenneth,
> I know the behavior of the scale ranges.
> My case is the following¨
> I have two scale ranges
> 0-15000
> 15001 - infinite
>
> when I start the map can see the layer according to 15001 - inifinte scale
> range, however when you do zoom in until 15000 using the status scale the
> layer disappears. When I do the same usign the slider, zoom rectangle or
> zoom in tool the layer shows up according to 0-15000 scale ranges.
> It happen with any of viewers (fusion, ajax or dwf).
>
> Regards,
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>>
>> Can you clarify the problem a bit?
>>
>> If you have a layer with scale ranges:
>> 0-2000 : Red dots
>> 2001-Infinite : Blue dots
>>
>> Does it change from blue to red if you type in "2000" in the status
>> bar at the bottom?
>> Does it change if you use the slider (to the same range)?
>> Does it change if you drag a rectange (to the same range)?
>> (The change is expected behavior)
>>
>> If you have ranges:
>> 0-2000
>> 4000-Infinite
>>
>> The layer will be invisible in the range [2001-3999], which is correct
>> behavior.
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> Rodolfo Moreno skrev:
>>> Hi all,
>>> I got an issue in mapguide 2.0.1.
>>> Layers with different scale ranges become invisible when you do zoom
>>> in with the StatusScale until to achieve one of the scale ranges.
>>> It happens with any of the viewers (AJAX, DWF or FUSION), which is
>>> why I think that the problem is the mapguide server.
>>> I don't know whether this issue has been solved in the 2.0.2 version
>>>
>>> I would like to know whether someone has gotten the same problem.
>>>
>>> Regards
>>>
>>>
>>> -----
>>> Rodolfo Moreno
>>> CivilEng
>>>
>>>  
>> _______________________________________________
>> mapguide-users mailing list
>> [hidden email]
>> 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-tp1142302p1298894.htm
> l
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 3495 (20081004) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>  
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 3495 (20081004) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>  
>
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> 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-tp1142302p1301256.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: [ZS1] Re: StatusScale issue in scale ranges

Rodolfo Moreno
In reply to this post by Kenneth Skovhede, GEOGRAF A/S

Hi Kenneth,
that's rigth, although I've just realized of it today.
Regards,


Kenneth Skovhede, GEOGRAF A/S wrote:

>
> That sounds VERY strange.
> So you have:
> 15001 -> Visible
> 15000 -> Invisible
> 14999 -> Visible
>
> But ONLY when typing the range in the scale box?
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Rodolfo Moreno skrev:
>> Hi Kenneth,
>> I know the behavior of the scale ranges.
>> My case is the following¨
>> I have two scale ranges
>> 0-15000
>> 15001 - infinite
>>
>> when I start the map can see the layer according to 15001 - inifinte
>> scale
>> range, however when you do zoom in until 15000 using the status scale the
>> layer disappears. When I do the same usign the slider, zoom rectangle or
>> zoom in tool the layer shows up according to 0-15000 scale ranges.
>> It happen with any of viewers (fusion, ajax or dwf).
>>
>> Regards,
>>
>>
>> Kenneth Skovhede, GEOGRAF A/S wrote:
>>  
>>> Can you clarify the problem a bit?
>>>
>>> If you have a layer with scale ranges:
>>> 0-2000 : Red dots
>>> 2001-Infinite : Blue dots
>>>
>>> Does it change from blue to red if you type in "2000" in the status bar
>>> at the bottom?
>>> Does it change if you use the slider (to the same range)?
>>> Does it change if you drag a rectange (to the same range)?
>>> (The change is expected behavior)
>>>
>>> If you have ranges:
>>> 0-2000
>>> 4000-Infinite
>>>
>>> The layer will be invisible in the range [2001-3999], which is correct
>>> behavior.
>>>
>>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>>
>>>
>>>
>>> Rodolfo Moreno skrev:
>>>    
>>>> Hi all,
>>>> I got an issue in mapguide 2.0.1.
>>>> Layers with different scale ranges become invisible when you do zoom in
>>>> with
>>>> the StatusScale until to achieve one of the scale ranges.
>>>> It happens with any of the viewers (AJAX, DWF or FUSION), which is why
>>>> I
>>>> think that the problem is the mapguide server.
>>>> I don't know whether this issue has been solved in the 2.0.2 version
>>>>
>>>> I would like to know whether someone has gotten the same problem.
>>>>
>>>> Regards
>>>>
>>>>
>>>> -----
>>>> Rodolfo Moreno
>>>> CivilEng
>>>>
>>>>  
>>>>      
>>> _______________________________________________
>>> mapguide-users mailing list
>>> [hidden email]
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>>    
>>
>>
>> -----
>> Rodolfo Moreno
>> CivilEng
>>
>>  
>
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> 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-tp1142302p1301280.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

RE: StatusScale issue in scale ranges

Jason Birch
In reply to this post by Maksim Sestic
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

RE: StatusScale issue in scale ranges

Rodolfo Moreno

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
> [hidden email]
> 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.

_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users