| 1 | = Newbie Question = |
| 2 | |
| 3 | |
| 4 | Describe function addgeometrycolumn("unknown", "unknown", integer, "unknown", integer) does not exist here. |
| 5 | |
| 6 | This is a common problem that usually means you don't have the postgis functions loaded in your database. The easiest way to remedy are |
| 7 | |
| 8 | 1) If you are starting with a new database and you have a database called template_postgis - create a new database and choose the template_postgis as your template |
| 9 | |
| 10 | OR |
| 11 | |
| 12 | 2) If you already have a database with tables, spatially enable your database by running the following SQL files |
| 13 | Postgresql\8.2\share\contrib\lwpostgis.sql |
| 14 | Postgresql\8.2\share\contrib\spatial_ref_sys.sql |