Visualize PostGIS index using Gevel in Postgres 9.6:
git clone git://sigaev.ru/gevel
cd gevel
git checkout bd8b8b031a8049a6e7c18c00946bfbd99d75d27f
USE_PGXS=1 make
sudo USE_PGXS=1 make install
psql -f /usr/share/postgresql/9.6/contrib/gevel.sql
psql
drop table if exists idx_vis;
create table idx_vis as (select level, replace(a::text, '2DF', '')::box2d::geometry as geom from gist_print('idx') as t(level int, valid bool, a box2df));
Hi,
I tried installing gevel on ubuntu,
USE_PGXS=1 make
gives errors regarding some *.h files,
also am I supposed to install gist_rtree module on top of my database before installing gevel
Thank you for your time.