Skip to content
Browse files
[3d] Disable 3D view for unprojected (lat/lon) CRS
The fact that the map units are in degrees instead of meters means that various bits of the code
(e.g. tolerances) are not behaving correctly due to changes in coordinate values being several
orders of magnitude lower. So for the time being it is safer to disable 3D view for unprojected
CRS and just let the user choose a projected CRS for the project.
  • Loading branch information
wonder-sk committed Dec 2, 2017
1 parent 02d9e14 commit be76e23
Showing 1 changed file with 6 additions and 0 deletions.
@@ -10244,6 +10244,12 @@ void QgisApp::new3DMapCanvas()

if ( mMapCanvas->mapSettings().destinationCrs().isGeographic() )
QMessageBox::warning( this, tr( "Error" ), tr( "3D view currently does not support unprojected coordinate reference systems (CRS).\nPlease switch project's CRS to a projected CRS." ) );

int i = 1;

bool existing = true;

0 comments on commit be76e23

Please sign in to comment.