[postgis-users] custom data type on basis of 3d geometry type?

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Sep 22 02:05:18 PDT 2008


B. Schoen wrote:

> Hello everyone,
>  
> I was wondering whether postGIS has the option of building a custom data 
> type on top of an existing data type, like a 3d geometry type. In 
> postgreSQL you can build a custom data type on top of an existing one, 
> but I cannot find any examples for postGIS.
>  
> Could anyone please clarify this issue to me or point me into the right 
> direction.
>  
> Thanks a mill,
> B.

I don't see any reason why you couldn't build a PostgreSQL domain 
containing geometry objects if you wanted. However I suspect this may 
confuse applications that read from the geometry_columns table to find 
tables containing geometries...


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-users mailing list