question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Geolocation queries support

See original GitHub issue

Add support for geolocation queries:

$ curl -s wttr.in/?format=location | jq .
{
  "latitude": 48.1371079,
  "timezone": "Europe/Berlin",
  "longitude": 11.5753822,
  "address": "München, OB, Bayern, Deutschland"
}

Original message

The weather (in San Francisco) is currently incorrect curl wttr.in is reporting 42F (6C) while other sources (weather.gov, DarkSky, my iPhone etc) are reporting 49F (9-10C) I can confirm it is in fact 49F (9-10C) not 42F (6C) outside at the moment. I’ve confirmed the error persists on the website as well as the terminal report Any ideas on how to fix this or what’s causing the problem?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
chubincommented, Mar 26, 2022

Something like this would work for you?

$ curl -s wttr.in/?format=location | jq .
{
  "latitude": 48.1371079,
  "timezone": "Europe/Berlin",
  "longitude": 11.5753822,
  "address": "München, OB, Bayern, Deutschland"
}

(CAUTION: It is not yet implemented! It is just an example)

0reactions
chubincommented, Mar 27, 2022

Accepted 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Geospatial Queries — MongoDB Manual
MongoDB geospatial queries can interpret geometry on a flat surface or a sphere. 2dsphere indexes support only spherical queries (i.e. queries that interpret ......
Read more >
What is a geospatial query? - Amazon Athena
Geospatial queries are specialized types of SQL queries supported in Athena. They differ from non-spatial SQL queries in the following ways:
Read more >
Geospatial Geopoint Queries | Couchbase Docs
A geospatial geopoint query specifies an area and returns each document that contains a reference to a location within the area. Areas and...
Read more >
Geospatial queries - RethinkDB
RethinkDB supports spatial and geographic queries through geometry object support. In this article. Getting started; Coordinate system; Lines and distances ...
Read more >
Geo queries | Firestore - Firebase
Many apps have documents that are indexed by physical locations. For example, your app might allow users to browse stores near their current...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found