[gdal-dev] OGRPoint: fundamentals
Ari Jolma
ari.jolma at gmail.com
Fri Jan 29 00:54:12 PST 2016
29.01.2016, 09:55, Ari Jolma kirjoitti:
> A question about OGRPoint.
>
> There are copy constructor, assignment, and clone. Shouldn't these do
> basically the same thing but with a bit different syntax? By the same
> thing I mean that the new point or assignee should have the same flags
> (is_empty, is_3D, is_measured), same coordinate values, and same
> spatial reference?
>
> Also, by the current implementation there is a difference between an
> empty 2D point and empty 3D point. I wonder if this distinction is
> really relied upon someplace?
A comment on this. For example WKT "POINT Z EMPTY" is legal and
documented, so the distinction is significant.
>
> Ari
>
More information about the gdal-dev
mailing list