Closed Remi-C closed 9 years ago
assign @yoyonel
Bonus : when canceling error, zooming to track result in infinite loop
Oki i see the problem. Right now we don't follow the SRS switch on layer (tracking layer). We need to intercepted the signal from QGIS Gui. Not difficult.
@yoyonel : please don't, better to change the way the threshold is defined so it is independant of srs (see #9)
Anyway i will add a catch exception on this transformation
Good idea
To reproduce :
error is :
`Traceback (most recent call last): File " \interactive_map_tracking\interactive_map_tracking.py", line 505, in canvasExtentsChangedAndRenderComplete self.update_track_position() File " \interactive_map_tracking\interactive_map_tracking.py", line 752, in update_track_position list_points = [xform.transform(point) for point in list_points_from_mapcanvas] QgsCsException: Poursuivre la transformation de (-24479.530208, 57767.106935) PROJ.4: +proj=longlat +datum=WGS84 +no_defs +to +proj=lcc +nadgrids=@null +a=6378137.0000 +rf=298.2572221010000 +lat_0=46.500000000 +lon_0=3.000000000 +lat_1=44.000000000 +lat_2=49.000000000 +x_0=700000.000 +y_0=6600000.000 +units=m +no_defs Erreur: latitude or longitude exceeded limits