Mostrando entradas con la etiqueta google spreadsheet. Mostrar todas las entradas
Mostrando entradas con la etiqueta google spreadsheet. Mostrar todas las entradas

martes, 14 de julio de 2015

Convert from decimal degrees to sexagesimal degrees (WGS84) or viceversa and generate a GeoJSON file (for any GIS soft) directly from a Spreadsheet

Hello everyone,


Sometimes we have to work with spatial data that is written in a paper, and most of the time it is in WGS84 (at least for me). It can be written in decimal degrees, like: lat 71,746284 W long 42,856483 N or in sexagesimal degrees, like lat 71° 23' 45,5" E long 42° 42' 34,78" S. We may have many coordinates and need to work with it in some appropriate software, like QGIS, gvSIG, arcMap, arcview, or any other. I use QGIS, but I hope this solution works for most of you (it won't for the old arcview users).


The most common solution is to write the data in a spreadsheet and save it as a CSV (comma separated value) file, and after that import it with your software. It is a good workaround, but I will give you an easier solution: a spreadsheet that converts the data for you and exports it to a GeoJSON file ready to open with your software (it has to read that extension thou).


Here it is:


Written coordinates to GeoJSON spreadsheet (adf.ly doesn't heart, if you are not interested in ads, just wait 5 sec and skip)


It is blocked to edit it, so you first need to save a copy to your drive (google drive). After that you are ready to use it. And I will tell you how:


The first thing you have to know is that, to export the data to a GeoJSON file the coordinates must be written in decimal degrees, but don't worry much about it...


"Sexagesimal to decimal" sheet:
Use this sheet if you have your data in sexagesimal degrees. Do not modify the column named "decimal" because it has the conversion formula. The data is copied automatically to "to export sexagesimal" sheet, where you have the button to export the data.

This is the sheet you have to complete with the data (the yellow fields are the one to fill in, the rest autocalculate):


"Decimal to sexagesimal" sheet:
Use this sheet if you have your data in decimal degrees.
It is basically the same that the previous one but it converts decimal degrees to sexagesimal degrees. Do not modify the columns named "grad" "min" and "sec". The data is copied automatically to "to export decimal" sheet, where you have the button to export the data.

This is the sheet:



And finally, this is the sheet where is the button to export the data:



Once you click "export" you have to choose the fields:



and when you hit "export"...


Then click in "download GeoJSON file"...


and finally click where the red arrow says.. and that is it!

EASY!


It works, but I am trying to improve it, so, check for updates.

It also has a "graphic" map, just to see if you are in the right hemisphere ;)


I hope it is handy to you!
If you like it please share the post (not the sheet)
Your comments are welcome.
SUBSCRIBE!

miércoles, 14 de enero de 2015

Cómo crear documentos compartidos por internet

Hola a todos nuevamente,


Lo que les voy a mostrar en este post tal vez no sea tan interesante como el último, pero cuando comento sobre estas herramientas con mis colegas, ellos no la conocen, y al empezar a usarlas les gusta mucho. No es nada del otro mundo.. son Google Docs y Spreadsheet (hoja de cálculo).



Básicamente son un herramientas de oficina, similar al paquete MS Office, con la diferencia que no se ejecutan como un programa aparte, sino dentro del mismo navegador web. Están pensadas para trabajar online, pero tienen la opción de usarlas offline también. Existen otras también, como Google Forms, Slides, etc., que no veremos en este post.



Lo más interesante de estas herramientas, al menos en mi opinión, es la capacidad de elaborar documentos en conjunto con otros colegas, sin importan donde estén, mientras tengan conexión a internet. 



Puede ser que no sean tan potentes como las que trae el paquete de Microsoft, pero son mi elección a la hora de crear documentos en conjunto con otros profesionales, o cuando necesito que alguien revise o corrija lo que yo hice.


Para acceder a estas herramientas lo primero que tenemos que hacer es crearnos una cuenta en Google (si no la tenemos), la cual nos va a servir para todos los servicios que brinda esta empresa, incluidos Google Docs, Spreadsheet, Presentation, Calendar, Gmail, Drive, G+, y muchos más.

Acuerdense que si tienen un dispositivo móvil con Android, ya tienen una cuenta de Google, puede usar esa. Y de ese modo pueden usar el dispositivo para el trabajo también.


Una vez que tenemos la cuenta, hay varias maneras de crear un documento. En los dispositivos móviles con Android disponemos de una aplicación para cada servicio, Google Docs, Google Spreadsheet, etc. En la PC tenemos que entrar por el navegador web, o también existe una aplicación para el navegador Chrome.



links:



Docs:



Spreadsheet:



Yo particularmente creo mis documentos por medio de Google Drive. Aqui les muestro...



Vemos en la captura de pantalla que en el menú de la izquierda, justo debajo de donde dice "Drive", dice "Nuevo", al clickear en este botón nos dará la opción de crear un documento (doc, spreadsheet, etc).



Una vez abierto Docs, tendremos una pantalla como la siguiente:




Para compartir este archivo, debemos clickear en el botón azul que está arriba a la derecha, justo debajo de nuestro nombre. Luego nos aparecerá una pantalla donde ponemos el correo de la persona a la cual queremos compartir el documento, y podemos configurar los permisos donde dice "puede editar", "puede comentar" o "puede ver", según lo que nosotros queramos permitir.


Hasta el momento hay una cosa que me gustaría transmitirles para evitarles dolores de cabeza (o que directamente decidan no usarlas). Una gran diferencia con Office es que, a medida que uno escribe, el documente se guarda automáticamente, sin necesidad de poner "Guardar". Y aunque a la ligera parezca algo interesante (y lo es), hay que acostumbrarse. Es interesante porque, ¿a quien no le pasó de estar trabajando por un buen rato (horas tal vez) y que de golpe se corta la luz, o pasa algo, y no podemos recuperar lo que hicimos porque nos olvidamos de poner "Guardar"? Con Google Docs esto queda resuelto. Pero el problema se da cuando queremos modificar un documento existente y luego renombrarlo. Para hacer esto correctamente debemos poner, antes de modificar el documento, "Archivo" y en las opciones, "Crear una copia...", y ahí sí modificar la copia, y ponerle el nuevo nombre.

Bueno, cualquier cosa que tengan una pregunta (que yo pueda responder), hacerlo en los comentarios.

Espero les haya gustado..