First build of PostGIS module of GeoTools2. Need to load geometry_columns table?
От | Carlos Ho Shih Ning |
---|---|
Тема | First build of PostGIS module of GeoTools2. Need to load geometry_columns table? |
Дата | |
Msg-id | 09B2A867E595294DB69E2C8885647EEC831677@xingu.atech.local.br обсуждение исходный текст |
Ответы |
Re: First build of PostGIS module of GeoTools2. Need to
|
Список | pgsql-jdbc |
Hi, The first build of the GeoTools2 is almost OK except that of PostGIS. This is module that I am most interested in. By doing "maven test" in PostgisTest.java (excluding all other tests) only. I am getting the following console message excerpt ..... [junit] 25/11/2003 11:03:39 org.geotools.data.postgis.PostgisTest setUp [junit] INFO: exception while making schemaCouldn't make schema: org.geotool s.data.DataSourceException: no geometry found in the GEOMETRY_COLUMNS table fo r jdbc_test of the postgis install. A row for geom is required for geotools t o work correctly [junit] 25/11/2003 11:03:39 org.geotools.data.postgis.PostgisTest testMaxFea tures [junit] INFO: ...threw data source exceptionorg.geotools.data.DataSourceExce ption: Couldn't make schema: org.geotools.data.DataSourceException: no geometry found in the GEOMETRY_COLUMNS table for jdbc_test of the postgis install. A r ow for geom is required for geotools to work correctly ...... I installed PostGreSQL/PostGIS correctly and tested with the accompanying sample of the PostGIS and it worked perfectly. Now I am wondering if any additional sql script is needed to load into PostGre, besides postgis.sql, in order to make the GeoTools run properly. I guess that the table geometry_columns must be loaded. So, is there any standard procedure for doing that? Do I need to run the samples in some specified order? thanks a lot Carlos
В списке pgsql-jdbc по дате отправления: