From: Sandro Santilli Date: Wed, 25 Jul 2012 13:52:48 +0000 (+0000) Subject: Do not advertise broken type "geometry(srid)" (#1934) X-Git-Tag: 2.1.0beta2~745 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0613ee2b5f4bdfe9f303225e2313a89015444527;p=postgis Do not advertise broken type "geometry(srid)" (#1934) git-svn-id: http://svn.osgeo.org/postgis/trunk@10119 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/using_postgis_dataman.xml b/doc/using_postgis_dataman.xml index 9769e68d0..da8d9a824 100644 --- a/doc/using_postgis_dataman.xml +++ b/doc/using_postgis_dataman.xml @@ -769,7 +769,7 @@ CREATE VIEW public.vwmytablemercator AS -- DROP VIEW public.vwmytablemercator; CREATE VIEW public.vwmytablemercator AS - SELECT gid, ST_Transform(geom,3395)::geometry(3395) As geom, f_name + SELECT gid, ST_Transform(geom,3395)::geometry(Geometry, 3395) As geom, f_name FROM public.mytable; -- If you know the geometry type for sure is a 2D POLYGON then you could do