evanoberholster / timezonelookup Goto Github PK
View Code? Open in Web Editor NEWTimezone lookup API for GPS Coordinates based from GeoJSON
License: MIT License
Timezone lookup API for GPS Coordinates based from GeoJSON
License: MIT License
Thanks for all the fine work on this lib. I'm very interested in using v2
but unfortunately I'm unable to import it in its current form. I think these instructions would be of help...
https://therootcompany.com/blog/bump-go-package-to-v2/
After go.mod
is adjusted you'll need to reset the v2.0.0
tag. IIRC in order to delete a remote tag on github you'll need to run git push origin :v2.0.0
Hi,
I wrote a package https://github.com/ringsaturn/tzf and add a benchmark page compard with this repo https://github.com/evanoberholster/timezoneLookup .
Benchmark shows that timezoneLookup which use RTree is slower 20 times compared with tzf which only use point in polygon search algo from https://github.com/tidwall/geojson
The performance seems comfusing because RTree should be faster, is there anything i missed in the benchmark code?
Benchmark repo https://github.com/ringsaturn/tz-benchmark
Bencmark pages https://ringsaturn.github.io/tz-benchmark/
This doesn't seem to function when run on Windows.
# github.com/evanoberholster/timezoneLookup/v2
C:\Users\Nathan Fiscaletti\go\pkg\mod\github.com\evanoberholster\timezone!lookup\[email protected]\timezone.go:222:17: undefined: syscall.Mmap
C:\Users\Nathan Fiscaletti\go\pkg\mod\github.com\evanoberholster\timezone!lookup\[email protected]\timezone.go:222:64: undefined: syscall.PROT_READ
C:\Users\Nathan Fiscaletti\go\pkg\mod\github.com\evanoberholster\timezone!lookup\[email protected]\timezone.go:222:80: undefined: unix.MAP_SHARED
C:\Users\Nathan Fiscaletti\go\pkg\mod\github.com\evanoberholster\timezone!lookup\[email protected]\timezone.go:227:17: undefined: syscall.Munmap
Any plans to add windows support?
Timezone definition does not work at a point
Lon: 113.80151000
Lat: 26.82077200
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.