Opened 13 years ago
Closed 6 years ago
#1847 closed enhancement (fixed)
spgist 2d and 3d bindings for geometry
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.5.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
Before I forget — didn't see it on the list, and Paul you said you have it planned for 2.1.
spgist is a new gist type supported in 9.2. We will start with just 2d support for 2.1 and perhaps later nd.
Creating an spgist index would look like:
CREATE INDEX idx_edges_geom_spgist ON edges USING spgist (geom);
Details on spgist: http://www.pgcon.org/2011/schedule/events/309.en.html
Attachments (1)
Change History (26)
comment:1 by , 13 years ago
Version: | 2.0.x → trunk |
---|
comment:2 by , 12 years ago
Milestone: | PostGIS 2.1.0 → PostGIS Future |
---|
comment:3 by , 11 years ago
Milestone: | PostGIS Future → PostGIS 2.2.0 |
---|---|
Owner: | changed from | to
comment:4 by , 11 years ago
forgot link to actual proposal: http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/mohitkharb/5698390809640960
comment:5 by , 11 years ago
You are not mistaken. I asked Mohit to report to postgis-devel (in addition to cartodb forum)
comment:6 by , 11 years ago
Status: | new → assigned |
---|
comment:8 by , 11 years ago
Hi all, The first commit is at https://github.com/mohitkharb/postgis/commit/d0d87512 https://github.com/mohitkharb/postgis/commit/d0d87512.patch The code would be cleaned by tomorrow and I will update another patch.
comment:9 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
pramsey has a work in progress works against patched 9.5
Here’s the postgresql branch
https://github.com/pramsey/postgres/tree/spgistcompress
Here’s the postgis branch (you have to manually load the gserialized_spgist_2d.sql file to get the bindings)
More details here: http://lists.osgeo.org/pipermail/postgis-devel/2014-December/024651.html
comment:10 by , 10 years ago
Paul,
Sadly you may need to let this one go triage since I still feel it ain't going to make the 9.5 cut.
comment:11 by , 10 years ago
Milestone: | PostGIS 2.2.0 → PostGIS Future |
---|
Moving it to future; without compress in spgist it's not happening.
comment:13 by , 7 years ago
There is SP-GiST compress patch on commitfest: https://commitfest.postgresql.org/15/1298/
Let's review it and try to comment, so we get the chance for SP-GiST in PostGIS?
comment:16 by , 7 years ago
OK, so an implementation of kd-tree that only accepts points is easy enough. Is there another patchset that provides an example of the 4-d approach for boxes that was mentioned in the -hackers email chain?
by , 7 years ago
Attachment: | 0002-spgist-polygon-8.patch added |
---|
comment:18 by , 7 years ago
comment:19 by , 6 years ago
Owner: | changed from | to
---|
comment:20 by , 6 years ago
I'm guessing pull requests
https://github.com/postgis/postgis/pull/258
and
https://github.com/postgis/postgis/pull/251
fall into this bucket though maybe (251 spgist for box3d) should have a separate ticket
comment:21 by , 6 years ago
Summary: | spgist 2d bindings for geometry → spgist 2d and 3d bindings for geometry |
---|
Looks like Mohit will be working on this as part of GSoc and strk will be mentoring? or did I misunderstand?
https://www.google-melange.com/gsoc/project/details/google/gsoc2014/mohitkharb/5665319561461760
Excerpt from google summer of code