home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 393547960

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/294#issuecomment-393547960 https://api.github.com/repos/simonw/datasette/issues/294 393547960 MDEyOklzc3VlQ29tbWVudDM5MzU0Nzk2MA== 9599 2018-05-31T14:25:43Z 2018-05-31T14:25:43Z OWNER

SpatialLite columns are actually quite a bit more interesting than this - they also have a geometry_type (point, polygon, linestring etc), a coord_dimension (usually 2 but can be higher) and an srid.

For example:

https://datasette-publish-spatialite-demo.now.sh/spatialite-test-c88bc35/geometry_columns

The SRID here is particularly interesting, because it helps hint at the fact that the results from these queries won't be latitude/longitude co-ordinates - which means that AsGeoJSON() won't return results that can be easily rendered by Leaflet:

https://datasette-publish-spatialite-demo.now.sh/spatialite-test-c88bc35?sql=select+AsGeoJSON(Geometry)+from+HighWays%20limit1

Compare with https://timezones-api.now.sh/timezones-a99b2e3/geometry_columns:

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
327365110  
Powered by Datasette · Queries took 3.166ms · About: github-to-sqlite