TransWikia.com

PostGIS: Can´t preview geometry when in different schema than public - why?

Geographic Information Systems Asked by Emanuelv on January 4, 2021

So I’m trying to wrap my head around PostGIS and how to get it working correctly in a schema other than ‘public’.

I followed this tutorial, and transfered PostGIS to my own schema, postgis_test. I used the PostGIS shapefile importer and imported my shapefile. Everything looks good (see screenshot of the geometry column), but the option to preview the geometry (the ‘Eye’-icon) from the table is gone – why could that be?

enter image description here

One Answer

PostGIS should stay in the public schema (then everyone can see it) while your data can live in individual schemas. This allows you to upgrade PostGIS without needing to backup, drop and restore the data tables since only public needs to be changed.

Answered by Ian Turton on January 4, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP