Ben Harper
unread,Sep 22, 2010, 3:35:18 AM9/22/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SpatiaLite Users
Hi,
Is there any way to create an untyped geometry column? All I really
want is to be able to create a column that can accept MULTIPOLYGON as
well as POLYGON types (and likewise for LINESTRING).
From digging in the code a bit, it seems like the best solution is to
add a 'GEOMETRY' datatype that will accept any value. I've tried doign
this with AddGeometryColumn(), and I notice that it accepts type
'GEOMETRY', and this appears so far to work.
However, the docs mention nothing about this, so I'm wondering what
the thinking is here?
Thanks,
Ben