On Fri, Jul 23, 2010 at 10:58 AM, Brett Henderson <[email protected]> wrote:
> Hi Nakor,
>
> You're getting an error earlier in the script:
>
>
> psql:/tmp/pgsql_simple_schema_0.6.sql:42: ERROR: AddGeometryColumns() -
> invalid SRID
> CONTEXT: SQL statement "SELECT AddGeometryColumn('','', $1 , $2 , $3 , $4
> , $5 )"
> PL/pgSQL function "addgeometrycolumn" line 4 at SQL statement
>
> You don't appear to have the PostGIS SRID tables populated. I don't have
> details handy on how to do this, but your PostGIS distribution should
> include a script for doing this ...
>
> I'll look again later when I have a PostgreSQL system available.
>
On Fedora, the script to run against your database is
/usr/share/pgsql/contrib/spatial_ref_sys.sql
Brett
_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev