add proj gdal data

This commit is contained in:
copper 2022-05-31 13:11:01 +08:00
parent 7efba2619a
commit a8b0ba92fd
3 changed files with 16 additions and 1 deletions

2
.gitignore vendored
View File

@ -216,3 +216,5 @@ plugin-build/
3rd/
default/
plugins/*/*.c
share/*

12
log.txt
View File

@ -6,3 +6,15 @@
2022-05-31 13:03:21,997 - root - INFO - remain_days: 183
2022-05-31 13:03:23,512 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:03:23,512 - root - INFO - remain_days: 183
2022-05-31 13:04:56,664 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:04:56,664 - root - INFO - remain_days: 183
2022-05-31 13:04:57,954 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:04:57,954 - root - INFO - remain_days: 183
2022-05-31 13:07:34,863 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:07:34,864 - root - INFO - remain_days: 183
2022-05-31 13:07:36,227 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:07:36,227 - root - INFO - remain_days: 183
2022-05-31 13:08:31,271 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:08:31,271 - root - INFO - remain_days: 183
2022-05-31 13:08:32,678 - root - INFO - lic data:2022-12-01 00:00:00
2022-05-31 13:08:32,679 - root - INFO - remain_days: 183

View File

@ -55,7 +55,8 @@ class eagleEye(QgsMapCanvas):
elif sub_layer.view_mode == BasicLayer.BOATH_VIEW:
layer_list_1.append(sub_layer.layer)
self.setLayers(layer_list_1)
self.zoomToFeatureExtent(layer_list_1[0].extent())
if len(layer_list_1) > 0:
self.zoomToFeatureExtent(layer_list_1[0].extent())
def draw_extent(self,extent):
self.Extent=extent