Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 17 2021 17:50
    tassia added as member
  • Jun 17 2021 17:47
    scisco added as member
  • Jun 17 2021 17:47
    sharkinsspatial added as member
  • Jun 17 2021 17:47
    ricardoduplos added as member
  • Jun 17 2021 17:47
    smit1678 added as member
  • Jun 17 2021 17:47
    olafveerman added as member
  • Jun 17 2021 17:46
    nbumbarger added as member
  • Jun 17 2021 17:46
    lossyrob added as member
  • Jun 17 2021 17:46
    mojodna added as member
  • Jun 17 2021 17:45
    jflasher added as member
  • Jun 17 2021 17:45
    kamicut added as member
  • Jun 17 2021 17:44
    dodobas added as member
  • Jun 17 2021 17:42
    ascalamogna added as member
  • Jun 17 2021 17:42
    devseedgit added as member
  • Jun 17 2021 17:42
    anandthakker added as member
  • Jun 17 2021 17:42
    brendangatens added as member
  • Jun 17 2021 17:42
    bgirardot added as member
  • Jun 17 2021 17:42
    danielfdsilva added as member
  • Apr 26 2021 09:45

    cgiovando on master

    Update README.md (compare)

  • Feb 02 2021 06:05
    yojiyojiyoji commented #105
Cristiano Giovando
@cgiovando
thanks @yojiyojiyoji - @tassia ’s code already does the automatic bbox extraction, but yeah having an option to create the actual footprint automatically would be great. The only tricky part may be to recognize what the nodata values are for each image mosaic. Sometimes it’s black, sometimes white and if it’s geotiff can be anything. But most of the times it will be black, so you can probably start with http://www.gdal.org/nearblack.html
I agree that the automatic footprint extraction should be validated, so having that intermediate step to check the results before uploading, unless it’s used on a set of well-known images (e.g. Landsat) where you can trust the process.
Drone imagery would be the opposite case, where all mosaics have pretty much different footprints. In which case it may also be good to let the user choose to trace the footprint/AOI and the uploader extract only that part of the mosaic.
yojiyojiyoji
@yojiyojiyoji
@cgiovando Thanks for the info. I’ve just implemented footprint (temporarily using bbox values), and also gsd.
By the way, I’d like to make sure about the schedule: According to the workplan, the implementation (not on paper) seems to start on October. Is this right?
(If I have time, probably it is better to refactor / simplify the codes more, considering the future.)
Cristiano Giovando
@cgiovando
hey @yojiyojiyoji we don’t have a finalized workplan for PacDID yet, so I would not worry about timing of that and the QGIS plugin development. Once we know the schedule then there may be opportunities to do more, but in the meantime would be great to test the refactor you mentioned and the catalog search features. Did you already deploy that code? Do you have access to update the qgis plugins repo entry?
yojiyojiyoji
@yojiyojiyoji

@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.

yojiyojiyoji
@yojiyojiyoji

@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.

Cristiano Giovando
@cgiovando
Hi @yojiyojiyoji - that’s awesome! Can you remind me what’s the best way to deploy from source if I already have it installed from the QGIS plugin repo? Should I first uninstall or overwrite?
yojiyojiyoji
@yojiyojiyoji

@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

yojiyojiyoji
@yojiyojiyoji
@cgiovando Are you there?
Cristiano Giovando
@cgiovando
Hi @yojiyojiyoji - yes, just finishing lunch - give me 5 minutes
yojiyojiyoji
@yojiyojiyoji
Sure.
Cristiano Giovando
@cgiovando
OK.
I’m going to try to install the updated version
Shoul I used the latest archive in the gdrive folder?
yojiyojiyoji
@yojiyojiyoji
I think so.
The second one and third one are not so different, but it is better to use the latest, I think.
Cristiano Giovando
@cgiovando
OK, let me try
yojiyojiyoji
@yojiyojiyoji
GUI of saving metadata and reprojection need to be modified, but the process itself should be working.
Probably, it is better to make new classes for reprojection.
Cristiano Giovando
@cgiovando
OK, I got it
yojiyojiyoji
@yojiyojiyoji
Maybe it is better to try image search first.
Cristiano Giovando
@cgiovando
I did actually, looks like a good start ;)
What’s the location search box for?
Would it be for a place name search?
yojiyojiyoji
@yojiyojiyoji
I think I need to contact with @smith1678.
It is presently disabled.
Cristiano Giovando
@cgiovando
OK
I’m getting an error wih the upload tool, but it’s probably something I broke..
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’]
yojiyojiyoji
@yojiyojiyoji
Can you see the file $HOME/Library/Preferences/org.qgis.qgis.plist?
I think it is related with QSetting.
Cristiano Giovando
@cgiovando
I see it
but it says it’s binary
yojiyojiyoji
@yojiyojiyoji
Or can you open the Edit Setting Dialog?
Is it binary?
Cristiano Giovando
@cgiovando
Oh, now it works
yojiyojiyoji
@yojiyojiyoji
I think null value in CONTACT caused error... I will try to see the code later.
Cristiano Giovando
@cgiovando
Let me try something, 1 sec
yojiyojiyoji
@yojiyojiyoji
It was written in issue #67. I will work on it later.
As I said reprojection/saving metadata is not well implemented yet. It need to be refactored later.
Cristiano Giovando
@cgiovando
OK. Did you change anything else in the uploader?
at least for the GUI?
I noticed that when you select a file it does not move it into the left hand side panel
yojiyojiyoji
@yojiyojiyoji
You mean at the 1st page of the wizard?
Cristiano Giovando
@cgiovando
Yes
yojiyojiyoji
@yojiyojiyoji
It is working in my computer...
Cristiano Giovando
@cgiovando
I mean, when I select it in the lower box, then it does not move it up into the left bigger box
let me do a quick screencast