Skip to content
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

Error Exception #18

Closed
r3G4l opened this issue Dec 9, 2020 · 1 comment
Closed

Error Exception #18

r3G4l opened this issue Dec 9, 2020 · 1 comment

Comments

@r3G4l
Copy link

r3G4l commented Dec 9, 2020

Hola,

Al realizar la llamada
$calculator = new Calculator(resource_path() . "/geo.data/");
$timeZoneName = $calculator->getTimeZoneName($latitud, $longitud);

Obtengo la siguiente excepción
GeoTimeZone/Quadrant/Tree.php:50
"file_get_contents(/geo.data/b/d/a/a/d/d/b/b/c/b/geo.json): failed to open stream: No such file or directory"

Sólo sucede si las coordenadas son cercanas a fronteras políticas.
He de decir que no existe tal archivo en ningún subdirectorio del árbol que se generó en el directorio geo.data

¿He generado de manera incorrecta el indice?
Aprovecho para preguntar si es posible obtener dicho árbol e indice sin tener que realizar un updateData, el cual me supone un alto coste de procesamiento y tiempo.

Gracias,
Un saludo.

@r3G4l
Copy link
Author

r3G4l commented Dec 11, 2020

evansiroky/node-geo-tz#111 (comment)

He establecido un uso horario por defecto.

Un saludo.

@r3G4l r3G4l closed this as completed Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant