-
Notifications
You must be signed in to change notification settings - Fork 3
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
Migrar registros sin lat/lng y asignar basados en dirección #5
Comments
Vamos a correr un script para que directamente actualice la colección de mongodb y le agregue las coordenadas. Irving González (@kodamirmo) está trabajando en eso. |
👍 |
Recomiendo que usen la api en lugar de escribir directo en la bd. Para que
el sistema valide los datos y haga bien las relaciones. Y de paso evitar
datos corruptos.
El 22 sept. 2017 4:04 PM, "Pedro Galvan" <notifications@github.com>
escribió:
… Vamos a correr un script para que directamente actualice la colección de
mongodb y le agregue las coordenadas.
Irving González ***@***.*** </~https://github.com/kodamirmo>) está
trabajando en eso.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
</~https://github.com/notifications/unsubscribe-auth/ABFdrlY0acs-XXKPPcCsi6-nfCg2TajCks5slCDXgaJpZM4PhNoj>
.
|
Sí. Irving está haciendo el script de js y ya con ese veo que lo usemos con la api. |
Donde esta la documentación de la API? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Se puede obtener lat/lng usando los servicios de geolocation de google asumiendo que la dirección está bien.
Sería bueno migrar estos datos en el backend para que no se delegue esto al frontend ya que es muy ineficiente
http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=' + encodeURIComponent(this.address)
The text was updated successfully, but these errors were encountered: