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

Lat/lng insufficiently accurate to be useful #154

Closed
nickevansuk opened this issue Jun 25, 2018 · 4 comments
Closed

Lat/lng insufficiently accurate to be useful #154

nickevansuk opened this issue Jun 25, 2018 · 4 comments

Comments

@nickevansuk
Copy link
Contributor

Applying rules:

Note that latitude and longitude should mostly be at least 4 decimal places in accuracy. Locations are used by apps to show local opportunities, as well as by satellite navigation systems, so accuracy is an important part of the end user's experience.

Example:

 {
    "@context": "https://www.openactive.io/ns/oa.jsonld",
    "type": "Event",
    "identifier": "event-9923",
    "url": "https://www.gotri.org/events/go-tri-with-georgia_9923?utm_source=openactive&utm_medium=referral",
    "name": "GO TRI with Georgia",
    "description": "The Georgia Williams trust is proud to announce “ GO –TRI With Georgia” event as part of the “ GO TRI scheme”.The event will be an Aquathlon ( Swim + Run ) event and is perfect for complete beginners to multisport and novice triathletes who want a go at a friendly, low distance event. As a real beginners event, we are offering further support in giving you swim aid equipment and flotation devices to help you enjoy your first experience and free your spirit and join in. The race distances are: 9-10 years: 100m swim and 1.5km run11-12 years: 150m swim and 2km run13-14 years: 200m swim and 3km run 15-19 years 250m swim and 5km run  19+ years: 250m swim and 5km runThe Swim is pool based in the Abraham Darby Leisure Centre with the adult run taking place in the world renowned Ironbridge Gorge, as a Participant you will cross the bridge and up the hill to the finish! All people who finish the event will receive a medal and small goody bag.Registration is at 9.30am with the briefing at 10.40am.. The event will then start at 11am.",
    "image": "https://uploads.britishtriathlon.org/events/g/52288b59e2a720a217f5c179fdd619b239e9832bec840505a8aaf2b2dd5169da.jpg",
    "startDate": "2018-07-08T00:00:00+01:00",
    "endDate": "2018-07-08T00:00:00+01:00",
    "location": {
      "type": "Place",
      "name": "Abraham Darby Leisure Centre",
      "address": {
        "type": "PostalAddress",
        "addressLocality": "Telford",
        "addressRegion": "Shropshire",
        "postalCode": "TF7 5HX",
        "streetAddress": "Abraham Darby Sports & Leisure Centre, Ironbridge Road, Madeley",
        "addressCountry": "GB"
      },
      "geo": {
        "type": "GeoCoordinates",
        "latitude": 52.63,
        "longitude": -2.47
      }
    }
  }

Not like this:

  "geo": {
    "type": "GeoCoordinates",
    "latitude": 52.63,
    "longitude": -2.47
  }

Like this:

  "geo": {
    "type": "GeoCoordinates",
    "latitude": 51.5149121,
    "longitude": -0.0329988
  }
@matthew-coffey
Copy link
Collaborator

Afraid that this is the accuracy the data is being saved in our database so it's either this or not latitude/longitude data at all?

I have made a change so that from now they are being saved to 6 decimal places so any future events created will have these to greater degree of accuracy but it is not possible to go back through existing events and update them.

@nickevansuk
Copy link
Contributor Author

No problem, great you've made the change now - yay for community feedback on data :) - are you ok to note this in the documentation?

@matthew-coffey
Copy link
Collaborator

Yeah of course, will do.

@nickevansuk
Copy link
Contributor Author

Leaving this open as a reminder to add to docs

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

2 participants