cgiovando on master
Update README.md (compare)
I think it is possible, and probably you are right. Maybe, it is better to put all the code inside of the uploader. However, if we allows both manual and automatic footprint creation, probably we need to put two steps (creating a shapefile layer of footprint and creation of json file) inside of the code. Additionally, we need to make a textbox to define a filename for the case we use manually made footprint. Is it OK?
I was assuming that users often do some processing on the QGIS, and upload the processed images. This is the reason I thought it is better to make the uploader simple.
@cgiovando Thanks for the response. So, please let me know once you finalize the workplan.
Regarding the current situation, the code is working, but don’t know if it’s ready to upload to plugin repo. (I think it is better to improve the multithreading S3 uploader more, since it seems to have some problem and messy.)
Anyway, I will keep working on it, and informing the progress.
P.S.
One thing which makes the plugin development complicated is that it often executes one statement before its previous statement complete. I guess this is because the plugin is using PyQt (python C++ binding), but seems be OK right now. I inserted some print statements, which helps to solve this kind of problem.
@cgiovando I have created a new S3 uploader. (The multithread function is improved, and each thread works more independently.) There are still many things to do, but you can see how it works if you deploy it.
At the same time, I will also reorganize the issues in github, since I think it is better to make it clearer.
@cgiovando I think it depends on which version you are currently using, but I guess it’s safer to uninstall the old one first.
I normally execute ‘make deploy’ command in the directory of ‘oam-qgis-plugin/OpenAerialMap’, but it may not work in Mac OS-X.
So, I will send .zip file to your email address. Please try extract the attached .zip file and copy it to your plugin folder.
For OS-X, I think there must be a folder named:
/Users/$USERNAME/.qgis/python/plugins
If you have any problem with your settings, you can check QSetting file.
For OS-X, there should be a file named:
$HOME/Library/Preferences/org.qgis.qgis.plist
http://docs.qgis.org/2.0/ca/docs/user_manual/introduction/qgis_configuration.html
I will try to check the cross-platform issue of MakeFile, or other solution later, but please just try the procedure above for the time being.
YU
An error has occured while executing Python code:
Traceback (most recent call last):
File "/Users/Cri/.qgis2/python/plugins/OpenAerialMap/oam_main.py", line 181, in displayImgUploaderWizard
self.imgUploaderWizard = ImgUploaderWizard(self.iface, self.settings)
File "/Users/Cri/.qgis2/python/plugins/OpenAerialMap/gui/img_uploader_wizard.py", line 100, in __init__
self.loadMetadataSettings()
File "/Users/Cri/.qgis2/python/plugins/OpenAerialMap/gui/img_uploader_wizard.py", line 314, in loadMetadataSettings
self.contact_edit.setText(self.settings.value('CONTACT'))
TypeError: QLineEdit.setText(QString): argument 1 has unexpected type 'QPyNullVariant'
Python version:
2.7.10 (default, Oct 23 2015, 19:19:21)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
QGIS version:
2.10.1-Pisa Pisa,
Python path: ['/Users/Cri/.qgis2/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', u'/Users/Cri/.qgis2/python', u'/Users/Cri/.qgis2/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Python/2.7/site-packages/matplotlib-override', '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/paramiko-1.15.2-py2.7.egg', '/Library/Python/2.7/site-packages/ecdsa-0.13-py2.7.egg', '/Library/Python/2.7/site-packages/pycrypto-2.6.1-py2.7-macosx-10.10-intel.egg', '/Library/Python/2.7/site-packages/TileStache-1.50.1-py2.7.egg', '/Library/Python/2.7/site-packages/Pillow-2.8.1-py2.7-macosx-10.10-intel.egg', '/Library/Python/2.7/site-packages/Werkzeug-0.10.4-py2.7.egg', '/Library/Python/2.7/site-packages/simplejson-3.7.2-py2.7-macosx-10.10-intel.egg', '/Library/Python/2.7/site-packages/ModestMaps-1.4.6-py2.7.egg', '/Applications/QGIS.app/Contents/MacOS/grass/etc/python', '/', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', u'/Users/Cri/.qgis2//python', '/Users/Cri/.qgis2/python/plugins/mmqgis/forms', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap/ext_libs/boto-2.38.0', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap/ext_libs/filechunkio-1.6', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap/ext_libs/requests-2.7.0', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old/ext_libs/boto-2.38.0', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old/ext_libs/filechunkio-1.6', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old/ext_libs/requests-2.7.0', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old/ext_libs/boto-2.38.0', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old/ext_libs/filechunkio-1.6', '/Users/Cri/.qgis2/python/plugins/OpenAerialMap-old/ext_libs/requests-2.7.0’]