[open-location-code] Re: is there a (linux) batch script to convert from latitude/longitude to plus code ?

2020-01-14 Thread River Mersey
TBH, python isn't my language and I've just had a quick look at the 
attached script.

>From what I understand of pluscodes, there are 2 parts to the algorithm. 
First part steps through generating pairs of char codes. Second part then 
gives a single char code for increasingly smaller grids of 20 sections. 

Python script given here seems to just repeatedly apply the first part of 
the algorithm - which I don't think is correct.

As I say, python isn't my language, and I've just quickly looked at it, so 
I'll happily accept that I'm likely to be wrong!

On Monday, June 3, 2019 at 3:07:24 PM UTC+1, Marc Meurrens wrote:
>
> Hello,
> I extract latitude/longitude from exif data of photos.
> I want to rename (and organize them) introducing the plus code in their 
> name.
> Thanks for your help.
> Marc
>
>

-- 
Public site: http://www.openlocationcode.com/
Github project: https://github.com/google/open-location-code
Demo site: http://plus.codes/
--- 
You received this message because you are subscribed to the Google Groups "Plus 
Codes Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-location-code+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/open-location-code/9d20701a-ec8b-43f0-a98c-7a4e7c3d6979%40googlegroups.com.


[open-location-code] Re: is there a (linux) batch script to convert from latitude/longitude to plus code ?

2020-01-14 Thread José Damico
You can use this java implementation that runs on command line: 
https://github.com/Scicrop/tests.pluscodes

Em segunda-feira, 3 de junho de 2019 11:07:24 UTC-3, Marc Meurrens escreveu:
>
> Hello,
> I extract latitude/longitude from exif data of photos.
> I want to rename (and organize them) introducing the plus code in their 
> name.
> Thanks for your help.
> Marc
>
>
-- 
"Atenção: Esta mensagem foi enviada para uso exclusivo do(s) 
destinatários(s) acima identificado(s), podendo conter informações e/ou 
documentos confidenciais/privilegiados e seu sigilo é protegido por lei. 
Caso você tenha recebido por engano, por favor, informe o remetente e 
apague-a de seu sistema.
Notificamos que é proibido por lei a sua retenção, 
disseminação, distribuição, cópia ou uso sem expressa autorização do 
remetente. Opiniões pessoais do remetente não refletem, necessariamente, o 
ponto de vista da SciCrop, o qual é divulgado somente por pessoas 
autorizadas."


"Warning: This message was sent for exclusive use of the 
addressees above identified, possibly containing information and or 
privileged/confidential documents whose content is protected by law.
In 
case you have mistakenly received it, please notify the sender and delete 
it from your system.
Be noticed that the law forbids the retention, 
dissemination, distribution, copy or use without express authorization from 
the sender. Personal opinions of the sender do not necessarily reflect 
SciCrop's point of view, which is only divulged by authorized personnel."

-- 
Public site: http://www.openlocationcode.com/
Github project: https://github.com/google/open-location-code
Demo site: http://plus.codes/
--- 
You received this message because you are subscribed to the Google Groups "Plus 
Codes Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-location-code+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/open-location-code/33d1626d-f3b6-42cd-8646-7af8200cb6e6%40googlegroups.com.