{"html_url": "https://github.com/simonw/datasette/issues/411#issuecomment-1779267468", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/411", "id": 1779267468, "node_id": "IC_kwDOBm6k_c5qDXeM", "user": {"value": 363004, "label": "hcarter333"}, "created_at": "2023-10-25T13:23:04Z", "updated_at": "2023-10-25T13:23:04Z", "author_association": "NONE", "body": "Using the [Counties example](https://us-counties.datasette.io/counties/county_for_latitude_longitude?longitude=-122&latitude=37), I was able to pull out the MakePoint method as \r\n\r\nMakePoint(cast(rm_rnb_history_pres.rx_lng as float), cast(rm_rnb_history_pres.rx_lat as float)) as geometry\r\n\r\nwhich worked, giving me a geometry column.\r\n\r\n![image](https://github.com/simonw/datasette/assets/363004/6393b712-9e3d-416d-ba37-202934d5f604)\r\n\r\n\r\ngave\r\n\r\n![image](https://github.com/simonw/datasette/assets/363004/219db7b2-8107-41b3-a049-ef4d6bd7ac7a)\r\n\r\nI believe it's the cast to float that does the trick. Prior to using the cast, I also received a 'wrong number of arguments' eror.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 410384988, "label": "How to pass named parameter into spatialite MakePoint() function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1479#issuecomment-1709373304", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1479", "id": 1709373304, "node_id": "IC_kwDOBm6k_c5l4vd4", "user": {"value": 363004, "label": "hcarter333"}, "created_at": "2023-09-07T02:14:15Z", "updated_at": "2023-09-07T02:14:15Z", "author_association": "NONE", "body": "I ran into the same issue on Windows using \r\n\r\n`datasette publish cloudrun mydatabase.db --service=my-database`\r\ndo do a [google cloud publish](https://docs.datasette.io/en/stable/publish.html).\r\n\r\n@Rik-de-Kort your fix worked perfectly! Thanks!\r\n\r\nI can always go back and delete the temp directories myself :)\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1010112818, "label": "Win32 \"used by another process\" error with datasette publish"}, "performed_via_github_app": null}