[postgis-users] Extended dat type in PostGIS.

dustymugs dustymugs at gmail.com
Wed Apr 17 15:11:51 PDT 2013


Something else is wrong.  The following works just fine...

CREATE TYPE foo AS (a text, b int, c geometry);
CREATE TABLE baz (d integer, e foo[]);

-bborie

On 04/17/2013 02:49 PM, Michael Sacauskis wrote:
> Hi
> 
> I'm trying to implement a composite data type with PosgresSQL/PostGIS.  Something like this:
> 
> -- This table store cloud data that is stored in metars.
> CREATE type clouds_type as
> (
>     cloudAmount varchar(3),
>     cloudHeight int
> ) ;
> 
> Create table cloud_report
> {
> .
> .
> .
> .
>       Clouds cloud_type[]
> }
> 
> 
> I get an error:  Could not find mapping for 'clouds_type', ignoring the column and setting the feature type read only.
> 
> 
> Will PostGIS support custom data types that I define in Postgress?
> 
> Thanks
> 
> Mike
> 
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
> 


More information about the postgis-users mailing list