HI Kevin,<br><br>Sorry for this delayed response, when I tried the query, I am getting the following error:<br><br>----------------------------<br>processdb=# select public.extent('POINT(0 0)');<br>ERROR: function public.extent("unknown") does not exist<br>
HINT: No function matches the given name and argument types. You may need to add explicit type casts.<br>----------------------------<br><br>any idea?<br><br>Thanks!<br><br>Giri<br><br><div class="gmail_quote">On Mon, Mar 2, 2009 at 12:43 PM, Kevin Neufeld <span dir="ltr"><<a href="mailto:kneufeld@refractions.net">kneufeld@refractions.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just a random thought here. Did you accidentally install PostGIS in a schema other than public? If so, is that schema on the search_path of the user you are using to connect within GeoServer?<br>
<br>
Do you get the same answer when you do this from psql or PgAdminIII?<br>
postgis=# select public.extent('POINT(0 0)');<br>
extent<br>
--------------<br>
BOX(0 0,0 0)<br>
(1 row)<br>
<br>
<br>
Cheers,<br>
Kevin<br>
<br>
Giri wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi Mark,<br>
I am using the latest stable versions of Geoserver and PostGIS, the installation looks good, no errors were reported.<br>
<br>
Thanks!<br>
<br>
Giri<br>
<br></div><div class="im">
On Fri, Feb 27, 2009 at 10:11 AM, Mark Cave-Ayland <<a href="mailto:mark.cave-ayland@siriusit.co.uk" target="_blank">mark.cave-ayland@siriusit.co.uk</a> <mailto:<a href="mailto:mark.cave-ayland@siriusit.co.uk" target="_blank">mark.cave-ayland@siriusit.co.uk</a>>> wrote:<br>
<br>
Giri wrote:<br>
<br>
Thanks for the response, mmm I am using Geoserver (version1.7.2)<br>
, and when I try to create the featureType "polygon", it is<br>
complaining about<br>
<br>
class org.postgresql.util.PSQLException: ERROR: function<br>
extent(geometry) does not exist<br>
<br>
shouldn't PostGIS have some backword support for the extent<br>
function?<br>
<br>
thanks!<br>
<br>
Giri<br>
<br>
<br>
<br>
Hi Giri,<br>
<br>
There has been talk of removing the old non-ST prefix functions from<br>
PostGIS, but so far this hasn't happened. Perhaps you need to check<br>
your installation?<br>
<br>
<br>
<br>
HTH,<br>
<br>
Mark.<br>
<br>
-- Mark Cave-Ayland - Senior Technical Architect<br>
PostgreSQL - PostGIS<br>
Sirius Corporation plc - control through freedom<br>
<a href="http://www.siriusit.co.uk" target="_blank">http://www.siriusit.co.uk</a><br>
t: +44 870 608 0063<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br></div>
<mailto:<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a>><div class="im"><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></blockquote><div><div></div><div class="h5">
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br>