Replies: 4 comments 1 reply
-
Hi @cbertelli, I've not tried it with version 5 yet, but I've done a bunch of work with it using SpatiaLite 4.3. There's some documentation about using Datasette with SpatiaLite here: https://docs.datasette.io/en/stable/spatialite.html I actually spent some time this weekend on a Datasette+SpatiaLite project: https://calands.datasettes.com/ - it's a Datasette instance that exposes the California Protected Areas Database from https://www.calands.org/cpad/ That database is published as a shapefile, so I used my shapefile-to-sqlite tool to convert that to SpatiaLite. It's also using the datasette-leaflet-geojson plugin to render maps, e.g. on https://calands.datasettes.com/calands/superunits_with_maps?_search=golden+gate I'm really interested in investing more time in SpatiaLite stuff - I'd love to make it easier to build things like "search for geometries near this point" or "search for geometries within this bounding box". I'm trying to work out how to do "parks near me" using a spatial index in this ticket: simonw/calands-datasette#3 |
Beta Was this translation helpful? Give feedback.
-
I wrote about that project in my weeknotes today: https://simonwillison.net/2020/Aug/28/weeknotes-cpad/ |
Beta Was this translation helpful? Give feedback.
-
Yes, it's the approach that is truly remarkable. Thanks for sharing.
c
…On Fri, Aug 28, 2020 at 4:19 AM Simon Willison ***@***.***> wrote:
I wrote about that project in my weeknotes today:
https://simonwillison.net/2020/Aug/28/weeknotes-cpad/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#951 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFBXRCHTQ6KZHBJ4ISSMR3SC4H2DANCNFSM4QM66C5Q>
.
|
Beta Was this translation helpful? Give feedback.
-
By the way, I see you have an answer also for my other wish/question, a
Datasette for PostgreSQL here:
#670
It seems to me a similar questions to those we discussed with Marcello
Verona about the heuristics of vFront (https://github.com/marciuz/vfront).
It's an old PHP project and it doesn't look at the introspection features
of version 9.6 onwards, but it could be useful.
Anyway, I would really like very much your approach applied to PostgreSQL,
the use case is research data inside a wiki. I'm looking to Documize, but
the question is more general, getting data inside documents; the idea is
embedding like Medium does, but even there, databases are not welcome.
c
On Fri, Aug 28, 2020 at 9:04 AM Carlo A. Bertelli (Charta s.r.l.) <
[email protected]> wrote:
… Yes, it's the approach that is truly remarkable. Thanks for sharing.
c
On Fri, Aug 28, 2020 at 4:19 AM Simon Willison ***@***.***>
wrote:
> I wrote about that project in my weeknotes today:
> https://simonwillison.net/2020/Aug/28/weeknotes-cpad/
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#951 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACFBXRCHTQ6KZHBJ4ISSMR3SC4H2DANCNFSM4QM66C5Q>
> .
>
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I think it could be interesting to take a walk on gaia-gis.it. Spatialite is a very interesting project, it has been just updated to version 5 and could provide some useful conversion tools in addition to what you are already using (eg. virtual_pg).
By the way gisquick.org automates publishing of SQLite/Spatialite datasets.
I do appreciate very much the approach and results of Datasette. Thank you very much for providing it.
I hope someone does what you did for SQLite even for PostgreSQL.
Beta Was this translation helpful? Give feedback.
All reactions