[postgis-users] Extended dat type in PostGIS.

Michael Sacauskis msacauskis at forwardslope.com
Wed Apr 17 14:49:46 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130417/9fb03090/attachment.html>


More information about the postgis-users mailing list