[postgis-users] Error using PostGIS and GEOM

strk strk at keybit.net
Wed Feb 25 08:07:31 PST 2009


On Wed, Feb 25, 2009 at 11:00:33AM -0500, Giri wrote:
> Hi,
> 
> Thanks for your responses, I have tried all your suggestions, and also ended
> up re-installing the PostGIS. Using the Geoserver,  I am trying to add a new
> Feature type  with the polygon  It now complains about  the following error
> 
>    - class org.geotools.data.DataSourceException: Could not count Request
>    All Features
>    - class org.postgresql.util.PSQLException: ERROR: function
>    extent(geometry) does not exist

'make install' from postgis is not enough.
It just installs the shared lib. In addition you have
to "spatially enable" dataases you want to use postgis with.
This is done by sourcing the (lw)postgis.sql file to the
dbs. Check the README file, should tell you (the
CREATING NEW SPATIAL DATABASES section).

--strk;




More information about the postgis-users mailing list