3

I followed this manual: http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ I installed using aptitude:

postgis
postgresql-8.4-postgis

but there is no script lwpostgis.sql in the /usr/share/postgresql-8.4-postgis/.

5

Use "/usr/share/postgresql/8.4/contrib/postgis.sql" instead of "/usr/share/postgresql-8.2-postgis/lwpostgis.sql".

3
  • i have not this file but i have "/usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql" is that normally? that file i must to use instead of "/usr/share/postgresql/8.4/contrib/spatial_ref_sys.sql" – Xaver Feb 2 '11 at 8:50
  • No, you need use postgis.sql first, then spatial_ref_sys.sql. To find postgis.sql: dpkg -L postgresql-8.4-postgis | grep "postgis.sql" – alvosu Feb 2 '11 at 9:37
  • on ubuntu 10 i found the file in "/usr/share/postgresql/8.4/contrib/postgis/postgis-1.5/postgis.sql" – nemesisdesign Jan 31 '13 at 19:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.