Allow import from Google Takeout JSON#338
Conversation
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Signed-off-by: Simon Spannagel <simonspa@kth.se>
Thank you for your great work ! I’d be glad to help you, but I don’t know how to proceed to do this (I’m on Nextcloud on Yunohost, so path files are different). But thank you a lot for everything you do day by day to improve this - already incredible - app ! |
|
I have installed the changes, but I am not able to select the json. |
|
Have you recompiled the JavaScript? |
|
Yeah I did execute the make command, however that did not help. I fully deleted the app and reinstalled it and then it worked. |
ph00lt0
left a comment
There was a problem hiding this comment.
I will approve it, since I think that the issue i had might be due to my setup. The locations seem to be imported correctly. Although I am still wondering what did add 2 more locations.
|
Hm, that's odd looking at the code I have no idea where counting could go wrong. Are you sure you only had 253 locations in your JSON? Would you mind sharing it (privately) with me? |
|
I also couldnt not find any evidence that this would be cause by your contribution. I am not willing share the file as this includes to much information. |
|
Sure, that's what I presumed - it's why we want to move it away from Google in the first place, no? :) |
|
Yep, well I did leave google behind some time ago. I still hoped for a import function in Nextcloud of my data export. So thanks a lot for your effort. |
|
@simonspa I hope to test this soon (although I have no Google Takeout content so I can only test the interface), any screenshots would help a lot to review the design quicker. :) |
|
here you go: A JSON file with reference data as returned by Google Takeout can be found in the linked issue. |
|
The json data looks like this @jancborchardt
|
|
Ah perfect! Only 1 thing: Could you adjust the title to clarify GeoJSON like: |
Signed-off-by: Simon Spannagel <simonspa@kth.se>
jancborchardt
left a comment
There was a problem hiding this comment.
👍 design-wise! :)
Yes the title of the modal looks very crowded now, but at least gives all info and I’m not sure how to do this better at the moment.
|
@jancborchardt sure fine with me. |
|
@jancborchardt yes, please do so! |




This PR allows to import favorites from a JSON file generated by Google Maps Takeout (Saved Places) and is a first step towards solving #66.
I'd be happy to receive some feedback and advice, especially on how to treat error conditions.