Boost logo

Geometry :

Subject: [ggl] Base geometry type ?
From: vd (zedxz2)
Date: 2011-08-19 23:42:57


Sounds reasonable, thanks for the answers!
On Thu, Aug 18, 2011 at 10:27 AM, Barend Gehrels <barend_at_[hidden]> wrote:

> Hi,
>
>
>
> Hi, I was browsing through the documentation and the source and there
>> doesn't seem to be a base polymorphic geometry type "Ex: Geometry". Let's
>> say I want an array of geometries, but it could contain polygons or lines, I
>> just don't know.
>> Is there such a type or am I missing something?
>>
>
> No, there is not. That should be either a geometry_collection (which is not
> implemented), or you might try using Boost.Any or Boost.Variant for it.
>
> Regards, Barend
>
>
>
> ______________________________**_________________
> ggl mailing list
> ggl_at_[hidden]
> http://lists.osgeo.org/**mailman/listinfo/ggl>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.osgeo.org/pipermail/ggl/attachments/20110818/9f0cf443/attachment.html


Geometry list run by mateusz at loskot.net