home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 324835838

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
324835838 MDU6SXNzdWUzMjQ4MzU4Mzg= 276 Handle spatialite geometry columns better 45057 closed 0     21 2018-05-21T08:46:55Z 2022-03-21T22:22:20Z 2022-03-21T22:22:20Z CONTRIBUTOR  

I'd like to see spatialite geometry columns rendered more sensibly - at the moment they come through as well-known-binary unless you use custom SQL, and WKB isn't of much use to anyone on the web.

In HTML: they should be shown either as simple lat/long (if it's just a point, for example), or as a sensible placeholder if they're more complex geometries.

In JSON: they should be GeoJSON geometries, (which means they can be automatically fed into a leaflet map with no further messing around).

In CSV: they should be WKT.

I briefly wondered if this should go into a plugin, but I suspect it needs hooking in at a deeper level than the plugin architecture will support any time soon.

107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/276/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed

Links from other tables

  • 2 rows from issues_id in issues_labels
  • 21 rows from issue in issue_comments
Powered by Datasette · Queries took 0.997ms · About: github-to-sqlite