CursorLocationVal

Issue #56 resolved
Benjamin Jakimow created an issue

An error has occurred while executing Python code:

QgsCsException: forward transform of (6825.541494, 101585.164050) PROJ.4:  +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 +to  +proj=utm +zone=33 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 Error: latitude or longitude exceeded limits

Traceback (most recent call last):
  File "C:\QGISPlugIns\enmap-box\enmapbox\gui\dockmanager.py", line 414, in showCursorLocationValues
    self.cursorLocationValueDock.showLocationValues(*args)
  File "C:\QGISPlugIns\enmap-box\enmapbox\gui\docks.py", line 1140, in showLocationValues
    self.w.showLocationValues(*args)
  File "C:\QGISPlugIns\enmap-box\enmapbox\gui\cursorlocationvalue.py", line 272, in showLocationValues
    values.append(CursorLocationValues.fromDataSource(spatialPoint, ds))
  File "C:\QGISPlugIns\enmap-box\enmapbox\gui\cursorlocationvalue.py", line 145, in fromDataSource
    return CursorLocationValues.fromRaster(datasource.uri, spatialPoint, name=datasource.name)
  File "C:\QGISPlugIns\enmap-box\enmapbox\gui\cursorlocationvalue.py", line 85, in fromRaster
    pt = spatialPoint.toCrs(lyr.crs())
  File "C:\QGISPlugIns\enmap-box\enmapbox\gui\utils.py", line 195, in toCrs
    box = trans.transform(pt)
QgsCsException: forward transform of
(6825.541494, 101585.164050)
PROJ.4:  +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 +to  +proj=utm +zone=33 +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0
Error: latitude or longitude exceeded limits

Comments (1)

  1. Log in to comment