enricofer / go2streetview

22 stars 22 forks source link

bing aerials do not open #33

Closed jtrebilcock closed 6 years ago

jtrebilcock commented 6 years ago

streetview works fine but the link to bing aerials just causes window to appear white

enricofer commented 6 years ago

It's due to API break. But recoverig the webapp with the same features it's a tough deal.

SteveLowman commented 6 years ago

Issue confirmed. It's a shame - this was a very useful facility.

enricofer commented 6 years ago

Migrating plugin to QGIS3 only, I dropped bing and switched to google maps oblique: https://github.com/enricofer/go2streetview/tree/master I backported this feature to QGIS2 with some issues on wich I'm working on. QGIS2 version is forked from master and you can download it from https://github.com/enricofer/go2streetview/tree/v7.4 Please download, test and report issues.

jtrebilcock commented 6 years ago

QGIS2 version returns the following error under manage and install plugins : This plugin is broken No module named go2streetview-7.4

enricofer commented 6 years ago

It appears a bad installation. Try to replace the content of your existing go2streetview plugin folder with the content of downloaded zip https://gis.stackexchange.com/questions/127785/how-to-install-qgis-2-6-plugins-offline

2018-01-23 16:09 GMT+01:00 jtrebilcock notifications@github.com:

QGIS2 version returns the following error under manage and install plugins : This plugin is broken No module named go2streetview-7.4

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/enricofer/go2streetview/issues/33#issuecomment-359819677, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMgg1TWvAMC7NYS_NT0IJ7nnVC-_o6kks5tNfYRgaJpZM4P8QqP .

SteveLowman commented 6 years ago

I did what you suggest. But there is "ImportError: No module named resources_rc" Full messagebox text attached.

Go2StreetView could not load - messagebox text.txt

enricofer commented 6 years ago

Could you test this please: https://github.com/enricofer/go2streetview/archive/v7.4.zip I can see from your exception trace that you are using qgis standalone under windows. did you try the plugin with qgis from osgeo4w installer?

SteveLowman commented 6 years ago

Still the same error, or very similar, as attached. This is now in the official plugin repository, so my colleagues are also now receiving the same error.

I only use the standalone LTR. I am not currently working as a developer, so I do not use the osgeo4w installer.

Go2StreetView could not load - messagebox text 29012018.txt

enricofer commented 6 years ago

Could you please confirm that this does not throw exceptions: https://github.com/enricofer/go2streetview/archive/v7.5.zip

SteveLowman commented 6 years ago

Sorry, deleted previous comments, where I must have pasted into the wrong plugin folder. This time, there is no Python exception, but instead, it thinks this is version 8, not 7.5.

openlayers plugin screenshot

enricofer commented 6 years ago

Sorry, I confused forks and I messed it... Now it's ready: https://github.com/enricofer/go2streetview/archive/v7.5.zip

enricofer commented 6 years ago

I received a PR to solve the issue in another way: https://github.com/enricofer/go2streetview/pull/34 Please, Could you test it? https://github.com/enricofer/go2streetview/archive/v7.4.zip

SteveLowman commented 6 years ago

Yes, the #34 works. The resolution of the Google aerial photography is very low with a heavily pixelated image until you zoom out. Bing aerial has always had higher resolution photography. However, this version is now working without any exceptions, thank you.

enricofer commented 6 years ago

well, I will publish it. The aerial imagery quality varies too much between world zones.

2018-01-30 10:43 GMT+01:00 SteveLowman notifications@github.com:

Yes, the #34 https://github.com/enricofer/go2streetview/pull/34 works. The resolution of the Google aerial photography is very low with a heavily pixelated image until you zoom out. Bing aerial has always had higher resolution photography. However, this version is now working without any exceptions, thank you.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/enricofer/go2streetview/issues/33#issuecomment-361535690, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMggz2utBh5AMEdh1jVGLU4pOVisbZUks5tPuRHgaJpZM4P8QqP .

agiudiceandrea commented 6 years ago

New version of https://github.com/enricofer/go2streetview/archive/v7.4.zip works with QGIS 2.18.16 64 bit standalone on Windows 7 SP1 64 bit. There is only a warning in the Python warning tab of the Log messages panel when the plugin is enabled:

warning:C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py:844: PendingDeprecationWarning: This method will be removed in future versions.  Use 'elem.iter()' or 'list(elem.iter())' instead.
              for include in elem.getiterator("include"):

            traceback:  File "<string>", line 1, in <module>
              File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 333, in startPlugin
                plugins[packageName] = package.classFactory(iface)
              File "C:/Users/Andrea/.qgis2/python/plugins\go2streetview\__init__.py", line 31, in classFactory
                from go2streetview import go2streetview
              File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
                mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:/Users/Andrea/.qgis2/python/plugins\go2streetview\go2streetview.py", line 33, in <module>
                from go2streetviewDialog import go2streetviewDialog, dumWidget,snapshotLicenseDialog, infobox
              File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
                mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:/Users/Andrea/.qgis2/python/plugins\go2streetview\go2streetviewDialog.py", line 37, in <module>
                MAIN_DIALOG_CLASS, _ = uic.loadUiType(os.path.join(os.path.dirname(__file__), 'ui_go2streetview.ui'))
              File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PyQt4\uic\__init__.py", line 210, in loadUiType
                winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports, resource_suffix)
              File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PyQt4\uic\Compiler\compiler.py", line 139, in compileUi
                w = self.parse(input_stream, resource_suffix)
              File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 933, in parse
                actor(elem)
              File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 844, in readResources
                for include in elem.getiterator("include"):
SteveLowman commented 6 years ago

Hi Enrico. Did you publish the corrected one? It seemed to work when I first reinstalled, but now I have restarted the application and still getting the same stack trace, as attached.

Go2StreetView could not load - messagebox text 30012018a.txt

enricofer commented 6 years ago

I have not published it yet. I will name the new release v7.4.1

enricofer commented 6 years ago

published now: Plugin go2streetview approval by pcav. The plugin version "[481] go2streetview 7.4.1" is now approved Link: http://plugins.qgis.org/plugins/go2streetview/

agiudiceandrea commented 6 years ago

go2streetview 7.4.1 works, but remain the Python warning reported in my previous comment.

enricofer commented 6 years ago

I'm not worried about it. It is related to PyQt4 uic module and I can't do nothing to fix it.

andremano commented 5 years ago

From this discussion I understand that Bing's Bird Eye was definitely abandoned? How about Google oblique, any chance of having it? Thank you for this great plugin!