gvSIG bugs #3602

Mostrar capa por rango de escalas funciona al revés

Added by Lluís Marqués about 9 years ago. Updated about 9 years ago.

Status:Invalid% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:-
Target version:2.3.0-2400 (rev. org.gvsig.desktop-2.0.102)
Severity:Minor Add-on version:
gvSIG version:2.2.0 Add-on build:
gvSIG build:2313 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

Al indicar que una capa no se muestre cuando el rango de escala sea mayor a una determinada funciona al revés, la capa se muestra por encima de la escala indicada y no se muestra por debajo de la escala indicada. Lo mismo ocurre cuando indicamos la escala mínima de la capa.

Pasos para reproducir el bug:

  1. Abrir una vista y cargar una capa (no importa el tipo).
  2. Abrir las propiedades de la capa
  3. Seleccionar la opción "No mostrar la capa cuando la escala"
  4. Indicar como Escala máxima 200000
  5. Hacer click en "Aplicar" y en "Aceptar".

Al aplicar los cambios observamos que la capa se muestra por encima de la escala 1:200000 y no se muestra por debajo de la escala, funcionando justo al contrario. Ocurre lo mismo si indicamos Escala mínima.

History

#1 Updated by Antonio Falciano about 9 years ago

Hi Lluís,
in my humble opinion, it works fine. If the maximum scale is 1:200.000, it means that the layer should not be visible when the scale is e.g. 1:100.000 (greater than 1:200.000). The scale is maximum, while the scale denominator is minimum.

#2 Updated by Lluís Marqués about 9 years ago

  • Status changed from New to Invalid

Antonio Falciano wrote:

Hi Lluís,
in my humble opinion, it works fine. If the maximum scale is 1:200.000, it means that the layer should not be visible when the scale is e.g. 1:100.000 (greater than 1:200.000). The scale is maximum, while the scale denominator is minimum.

Hi Antonio,
I have thought that one scale is greater than other when the scale denominator of first is greater than second scale denominator... but 1 / 200.000 is less than 1 / 150.000. Sorry and thank you!

#3 Updated by Joaquín del Cerro Murciano about 9 years ago

  • Target version set to 2.3.0-2400 (rev. org.gvsig.desktop-2.0.102)

Also available in: Atom PDF