Hi fellows,<div><br></div><div>I had a ver nice reverse geocode function on my postgis 1.5.1 box.</div><div><br></div><div>When I install it to my new 1.5.2 postgis installation I get this....</div><div><br></div><div>ERROR:  no existe el tipo «geometry»</div>
<div><br></div><div>Which in english means type does not exist ?? huh ?? How, why ??</div><div><br></div><div>This is a piece of my function code</div><div><br></div><div><b>CREATE OR REPLACE FUNCTION fn.reversegeo (IN x numeric, IN y numeric, IN epsg integer DEFAULT 4326)</b></div>
<div><b>  RETURNS TABLE(.....)</b></div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre"><b>       </b></span><b>DECLARE</b></div><div><span class="Apple-tab-span" style="white-space:pre"><b>                </b></span><b>x ALIAS FOR $1; y ALIAS FOR $2;</b><span class="Apple-tab-span" style="white-space:pre"><b>       </b></span><b>epsg ALIAS FOR $3;</b></div>
<div><span class="Apple-tab-span" style="white-space:pre"><b>             </b></span><b>new_geo geometry;</b></div></div><div><br></div><div><br></div><div>Why when creating the function postgres tells me geometry type does not exist ? I tried both small and Capital cases.</div>
<div><br></div><div><br></div><div>BTW config is:  postgresql 9.0 with postgis 1.5.2 from the stack builder on my winxp box.</div><div><br></div><div>PostGIS_Full_Version() :</div><div><br></div><div>"POSTGIS="1.5.2" GEOS="3.2.2-CAPI-1.6.2" PROJ="Rel. 4.6.1, 21 August 2008" LIBXML="2.7.6" USE_STATS"</div>
<div><br></div><div><br></div><div>Thanks in advanced,</div><div><br></div><div>Ricardo</div>