Socket
Socket
Sign inDemoInstall

github.com/whosonfirst/go-whosonfirst-timezones

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/whosonfirst/go-whosonfirst-timezones


Version published
Created
Source

go-whosonfirst-timezone

Important

This work is still experimental. It will probably change. It may be scrapped entirely.

Example

> go run -mod vendor cmd/lookup/main.go -latitude 37.616951 -longitude -122.384048 | jq
2021/10/13 10:25:59 Time to compile timezone lookup, 11.305766815s
{
  "places": [
    {
      "wof:id": "102047421",
      "wof:parent_id": "85633793",
      "wof:name": "America/Los_Angeles",
      "wof:country": "",
      "wof:placetype": "timezone",
      "mz:latitude": 38.27008,
      "mz:longitude": -118.219968,
      "mz:min_latitude": 32.534622,
      "mz:min_longitude": 38.27008,
      "mz:max_latitude": -124.733253,
      "mz:max_longitude": -114.039345,
      "mz:is_current": -1,
      "mz:is_deprecated": 0,
      "mz:is_ceased": -1,
      "mz:is_superseded": 0,
      "mz:is_superseding": 0,
      "edtf:inception": "",
      "edtf:cessation": "",
      "wof:supersedes": [],
      "wof:superseded_by": [],
      "wof:belongsto": [
        102191575,
        85633793
      ],
      "wof:path": "102/047/421/102047421.geojson",
      "wof:repo": "whosonfirst-data-admin-xy",
      "wof:lastmodified": 1566655657
    }
  ]
}

FAQs

Package last updated on 13 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc