Discussion:
[gdal-dev] OGRGeometry::Buffer
Momtchil Momtchev
2021-05-14 10:33:04 UTC
Permalink
    Hello,


    Just a quick question: shouldn't /OGRGeometry::Buffer/ be of
/OGRPolygon/ return type? Can I safely force a /OGRPolygon/ return type?

    These are the Typescript bindings so it should be as generic as
possible.
--
Momtchil Momtchev <***@momtchev.com>
Even Rouault
2021-05-14 10:55:29 UTC
Permalink
It can also be a multipolygon (if input is a multipolygon or a geometry
collection)
Post by Momtchil Momtchev
    Hello,
    Just a quick question: shouldn't /OGRGeometry::Buffer/ be of
/OGRPolygon/ return type? Can I safely force a /OGRPolygon/ return type?
    These are the Typescript bindings so it should be as generic as
possible.
--
_______________________________________________
gdal-dev mailing list
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
Loading...