[Qgis-user] scaling bug?

Andreas Neumann a.neumann at carto.net
Wed Oct 22 03:47:52 PDT 2008


ok, the problem in your case seems to be the degree settings instead of 
meters. I think this explains it. Your original data is in meters, I 
assume. I don't know how QGIS exactly calculates the map scale, but 1 
degree equals approx. 111km at 45 degree latitude. Maybe it assumes that 
your meters are in fact degrees and this explains the huge scale 
settings and the huge scale differences for different latitudes you get. 
All your data it seems lives outside of the world then ...

In degrees, the world scales between -180/180 and -90/90. It seems to me 
that QGIS perhaps should issue a warning if it loads data outside this 
range.

Andreas

Werner Macho wrote:
> Hi again!
> Ok I must miss something somewhere..
> I open QGIS .. Set the project projection to M34.
> Load the shape file as a vector layer - set the Layer projection to 
> M34 (missed that before) .. but .. the same happens
> Project has +proj=tmerc +lat_0=0 +lon_0=16.33333333333333 +k=1 
> +x_0=750000 +y_0=0 +ellps=bessel 
> +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m 
> +no_defs
> Layer CRS is +proj=tmerc +lat_0=0 +lon_0=16.33333333333333 +k=1 
> +x_0=750000 +y_0=0 +ellps=bessel 
> +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m 
> +no_defs
>
> Beat me but where can i find the "coordinate transformation turned 
> on?" switch?
>
> And believe it or not .. I switched Setting -> Project Properties -> 
> Map Units from "decimal degrees" to "Meters" and now the scale stays 
> correctly at 1:90000 while moving ..
> And I tried it with a new started QGIS also dont changing any 
> projection or Layer-CRS (assuming that everything is in WGS84) and it 
> seems that this is the only switch causing the scale displaying 
> strange values.
> So can someone give me an explanation why it is changing so rapidly in 
> "decimal degrees" while staying at the correct value in "Meters"
> And why is decimal degrees the default value? For me it seems more 
> reasonable to make Feet or Meters default..
>
> Sorry for bothering you with a maybe silly question but I cant follow 
> this behaviour right now.
>
> regards
> Werner
>
>> Not for me, I get the scale 1:91916
>>
>> What CRS does the layer have in your setup?
>> Do you have coordinate transformation turned on?
>> What CRS does the project have?
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list