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

GeoJSON output for iss-now #4

Open
jseppi opened this issue Oct 3, 2014 · 0 comments
Open

GeoJSON output for iss-now #4

jseppi opened this issue Oct 3, 2014 · 0 comments

Comments

@jseppi
Copy link

jseppi commented Oct 3, 2014

What do you think about formatting your iss-now response as GeoJSON (http://geojson.org/), or perhaps offering a slightly different endpoint such as /iss-now.geojson that does so? Since GeoJSON has become more or less the de facto way of presenting spatial data in JSON it would make the API more accessible to other applications.

Example output:

{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [-75.0436504109561, -46.338151423860474]
  },
  "properties": {
    "timestamp": 1412347452
  }
}

I would not mind doing the implementation if you are amenable to pull requests.

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