I am trying to create table with Postgis. I do it by this page. But when I import postgis.sql file, I get a lot of errors:
ERROR: type "geometry" does not exist
Does anybody know how can I fix it?
I am trying to create table with Postgis. I do it by this page. But when I import postgis.sql file, I get a lot of errors:
ERROR: type "geometry" does not exist
Does anybody know how can I fix it?
You can do it from terminal:
First make sure you have (matching to pg version: psql -V) postgis installed:
Just before tables creation add:
I had the same problem, but it was fixed by running following code
In detail,