{"html_url": "https://github.com/simonw/datasette/issues/276#issuecomment-392316306", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/276", "id": 392316306, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MjMxNjMwNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-27T09:00:46Z", "updated_at": "2018-05-27T09:00:46Z", "author_association": "OWNER", "body": "Relevant to this ticket: I've been playing with a plugin that automatically renders any GeoJSON cells as leaflet maps: https://github.com/simonw/datasette-leaflet-geojson", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 324835838, "label": "Handle spatialite geometry columns better"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/276#issuecomment-392316250", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/276", "id": 392316250, "node_id": "MDEyOklzc3VlQ29tbWVudDM5MjMxNjI1MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2018-05-27T08:59:46Z", "updated_at": "2018-05-27T08:59:46Z", "author_association": "OWNER", "body": "It looks like we can use the `geometry_columns` table to introspect which columns are SpatiaLite geometries. It includes a `geometry_type` integer which is documented here: https://www.gaia-gis.it/fossil/libspatialite/wiki?name=switching-to-4.0", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 324835838, "label": "Handle spatialite geometry columns better"}, "performed_via_github_app": null}