Bug report #7167

Scale box input doesn't get converted to 1:xxxx

Added by Patrick Dunford over 6 years ago. Updated about 4 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:16220

Description

In version 1.8 when you type a scale input into the scale box it automatically converts to 1:xxxx (the number you typed in)
1.9 does not do this so you end up with a scale of 2000:1 or whatever.

Is this a bug or a feature. If latter is there any way a setting will control this behaviour.

History

#1 Updated by Giovanni Manghi over 6 years ago

  • Priority changed from Normal to Severe/Regression
  • Target version set to Version 2.0.0

I would say that is a bug and a regression.

#2 Updated by Magnus Homann over 6 years ago

  • Priority changed from Severe/Regression to Low

I think this is the right behaviour. If you want 1:2000, it's easy to write. If you want 2000:1 it is also easu to write. If you enter 2000, that is the same as 2000:1.

#3 Updated by Amit Kulkarni over 6 years ago

Pull request https://github.com/qgis/Quantum-GIS/pull/430 fixes this for all cases. 1:2000, 2000, 2000:1

#4 Updated by Magnus Homann over 6 years ago

Not sure what you mean, but scales "1234" and "1:1234" is not the same to me. Neither is "0.001" and "1000".

#5 Updated by Alexander Bruy over 6 years ago

Amit Kulkarni wrote:

Pull request https://github.com/qgis/Quantum-GIS/pull/430 fixes this for all cases. 1:2000, 2000, 2000:1

And breaks test. Please update unit test accordingly

#6 Updated by Jürgen Fischer about 5 years ago

  • Category set to GUI

#7 Updated by Jürgen Fischer about 5 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#8 Updated by Nyall Dawson about 4 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Seems fixed in master. Please reopen if necessary.

Also available in: Atom PDF