On 17 December 2013 20:16, Dmitriy Baryshnikov <bishop....@gmail.com> wrote:
> Hi,
>
> I afraid that we come to situation where:
>
> getGeometryType()
> getIsoGeometryType()
> getRFCGeometryType()
> ...
> getBlahBlahGeometryType()
>
> Why not have only one method and only one enum (as GDAL origin - single
> abstract data model to the calling application for all supported formats).
> I think all ISO specific things should be internal and driver specific. So,
> we will get single GDAL enum of geom types.

I agree with you, in principle, that it's best if abstraction layer actually
makes a common denominator, but it is in this particular case
it is too late (AFAIU what Even says) and single enumeration would
gather plain codes as well as bit flags, leading to further confusion
in interpretation.


Best regards,
-- 
Mateusz  Łoskot, http://mateusz.loskot.net
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to