-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple image cloud export only returning one image #919
multiple image cloud export only returning one image #919
Comments
Hm, now looking and the old in-app exporter is ALSO only returning one image: https://mapknitter.org/warps/nottingham-city-centre/nottingham-city-centre.jpg I wonder if there's an issue with the process that identifies which are placed? This looks ok at first glance: https://mapknitter.org/maps/nottingham-city-centre/warpables.json |
Hm. Looking at the Ruby cloud export, it looks complete: https://mapknitter-exports-warps.storage.googleapis.com/1565270555/1565270555.jpg Not sure why, here is the status.json:
|
@jywarren status.json appears normal right? |
@jywarren I haven't looked into this yet but it just came to me what the issue is. Going back to my last PR #892 where I fixed a lot of It will require a lot of code re-writing. i will attempt it later today. Currently each new image we add goes into its own feature Group and then once the next one is added, the last feature Group is overrwritten. Because there is only 1 element ever in FG at time, it will always be exporting a single image. It also is why our UI is buggy and the event handling is confusing, plus other problems. In the meantime checkout PR in LDI: publiclab/Leaflet.DistortableImage#380. All the distortions are gone!! V excited about this @jywarren |
but long story short there I think although the images appear multi selected if you were to grab their feature group you'll find that they each have their own and are the only ones in there |
Saw the distortions fix, amazing!
OK, so do you think we can prioritize a fix to the multi-select so that
they are in a common feature group and initiate the export correctly,
accordingly? I'm concerned that the in-app exporting is not working well
and would love to complete the cloud export system and UI so that we can
finally move off the in-app exporter. And any time spent fixing in-app
exports seems sad when we have this new system coming up!
Thanks, Sasha!!!
…On Mon, Aug 12, 2019 at 10:23 AM Sasha Boginsky ***@***.***> wrote:
but long story short there I think although the images appear multi
selected if you were to grab their feature group you'll find that they each
have their own and are the only ones in there
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#919?email_source=notifications&email_token=AAAF6JZZ5MKFYUNHMUTIUBDQEFW3HA5CNFSM4IKTNS2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CV7EI#issuecomment-520445841>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J7UZOODLG47RX2IWETQEFW3HANCNFSM4IKTNS2A>
.
|
I tried this again and see https://mapknitter-exports-warps.storage.googleapis.com/1565813711/1565813711.jpg, so only one image. I think Sasha's explanation of multiple image select is correct. Checking the submitted request now: Indeed, we're only sending the request for a single image:
|
And confirming that the exporter itself can correctly generate multiple image outputs, as I did it manually at for example http://export.mapknitter.org/export?url=https://mapknitter.org/maps/ceres--2/warpables.json&scale=30 -- |
Ok now that collection group can add images without corners, I am going to attempt to fix the problem by not initially adding the image to the map instead of the group. |
@jywarren also I have never been able to create an export of even 1 image using the LDI interface. I get stuck in a permanent 'compositing' loop, even in production right now trying to export 1 image. I don't understand why your results are different. What steps can I follow to try to reproduce ur results? The legacy exporter doesn't work for me either. just generates a single tif that cannot be opened |
Ack, that sounds super frustrating... ok, let me create a video of the process, with the console open. One thing is that in any local testing, it won't work - because the images shown locally are not accessible from the Google Cloud server. You can either a) run it on gh-pages, or b) use remote images in the example, so that they are accessible over the open web. Video coming in a bit! |
OK, it's uploading, but here is the link: https://youtu.be/9ZON5nqBbrM - I walk through the whole lifecycle and each request. But if you're stuck on the compositing step, i wonder if you aren't seeing the "remote images" issue described above, but some other issue? What map are you testing on? In this demo I tested on https://mapknitter.org/maps/ceres--2/ |
Hi @sashadev-sky did this youtube video help at all in pinning down the issue? Maybe we can screenshare too? |
Hi Jeff - So sorry I missed these messages. Thank you so much for the video, I really appreciate you taking the time esp. with all of the things you are probably trying to catch up on this week! I will look over it and get back to you ASAP. |
Thanks, Sasha, no problem! You've been working real hard on all different parts of LDI! |
amazing!!! This is awesome, Sasha, thanks so much!
…On Thu, Aug 22, 2019 at 5:31 PM Sasha Boginsky ***@***.***> wrote:
I think it is fixed!!! at least the featureGroup is. So the exporting
should be fixed! #919 <#919>
I will watch your video on exporter to learn about how to test if fixed
@jywarren <https://github.com/jywarren>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#919?email_source=notifications&email_token=AAAF6JYAPTH6FBB6SK4WOVTQF4AQVA5CNFSM4IKTNS2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD46OSQI#issuecomment-524085569>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6JYESR4GBRSIID5K4RLQF4AQVANCNFSM4IKTNS2A>
.
|
Hi just noting this -- cc @sashadev-sky (and @divyabaid16 as your #693 relates eventually) -- I've tried selecting multiple images by long pressing or shift-dragging, and the exports i get back seem to have only one image each:
https://mapknitter.org/maps/nottingham-city-centre
https://mapknitter.org/maps/belle-isle-globe
Selection UI works:
But the images I get back are just single images. I don't have time right now but we should check if multiple images are indeed getting submitted?
The text was updated successfully, but these errors were encountered: