Subject: [ggl] Custom polygons
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-06-28 16:43:49
> Is there a possibility to have custom polygons (without holes) the
> same way as std::vector<my_custom_point> for linestrings?
1) You have to assign it the ring tag.
2) You cannot assign two different tags to the same structure. So either
you have to make this a std::deque or so, or (probably more convenient)
derive two different structs from your std::vector<my_custom_point> and
register them separately. The derived structs do not have to add
anything. Just deriving and registering must be enough.
Geometry list run by mateusz at loskot.net