|
@@ -289,10 +289,9 @@ class ImportDialog(wx.Dialog):
|
|
|
|
|
|
layers = self.list.GetLayers()
|
|
layers = self.list.GetLayers()
|
|
|
|
|
|
- if differentProjLayers:
|
|
|
|
|
|
+ if differentProjLayers and '-o' not in self.getSettingsPageCmd():
|
|
|
|
|
|
- dlg = RerojectionDialog(
|
|
|
|
- parent=self, giface=self._giface, data=differentProjLayers)
|
|
|
|
|
|
+ dlg = RerojectionDialog(parent=self, giface=self._giface, data=differentProjLayers)
|
|
|
|
|
|
ret = dlg.ShowModal()
|
|
ret = dlg.ShowModal()
|
|
|
|
|
|
@@ -363,7 +362,6 @@ class GdalImportDialog(ImportDialog):
|
|
self.commandId = -1
|
|
self.commandId = -1
|
|
data = self.list.GetLayers()
|
|
data = self.list.GetLayers()
|
|
|
|
|
|
-
|
|
|
|
data = self._getLayersToReprojetion(2, 3)
|
|
data = self._getLayersToReprojetion(2, 3)
|
|
|
|
|
|
if data is None:
|
|
if data is None:
|
|
@@ -377,7 +375,6 @@ class GdalImportDialog(ImportDialog):
|
|
dsn = self.dsnInput.GetDsn()
|
|
dsn = self.dsnInput.GetDsn()
|
|
ext = self.dsnInput.GetFormatExt()
|
|
ext = self.dsnInput.GetFormatExt()
|
|
|
|
|
|
-
|
|
|
|
for layer, output, listId in data:
|
|
for layer, output, listId in data:
|
|
userData = {}
|
|
userData = {}
|
|
|
|
|