{"id":229075,"date":"2021-03-24T15:02:46","date_gmt":"2021-03-24T07:02:46","guid":{"rendered":"https:\/\/magicalbits.net\/?p=229075"},"modified":"2021-03-24T15:02:46","modified_gmt":"2021-03-24T07:02:46","slug":"drawing-shapes-on-a-map-to-query-a-spatialite-database-and-other-weeknotes","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=229075","title":{"rendered":"Drawing shapes on a map to query a SpatiaLite database (and other weeknotes)"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/static.simonwillison.net\/static\/2021\/datasette-leaflet-freedraw.png\"><\/p>\n<p>This week I built a Datasette plugin that lets you query a database by drawing shapes on a map! SpatiaLite is a SQLite extension that adds a plethora of geospatial querying features.<\/p>\n<p><a href=\"https:\/\/simonwillison.net\/2021\/Jan\/24\/drawing-shapes-spatialite\/\">Read more<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I built a Datasette plugin that lets you query a database by drawing shapes on a map! SpatiaLite is a SQLite extension that adds a plethora of geospatial querying features. Read more<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[54],"class_list":["post-229075","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-pocket"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/229075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=229075"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/229075\/revisions"}],"predecessor-version":[{"id":229076,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/229075\/revisions\/229076"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=229075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=229075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=229075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}