[geos-devel] Upgrading to geos 3.3.0 broke all our codebase !

G. Allegri giohappy at gmail.com
Fri Jul 8 09:19:40 EDT 2011


I don't have looked at the GEOS hierarchy implementation, but it seems
you're right.

giovanni

2011/7/8 Maxime van Noppen <maxime at altribe.org>

> On 07/08/2011 01:33 PM, G. Allegri wrote:
>
>> Java permits multiple inheritance only on interfaces, so we don't have
>> the diamond problem since only one method implementation is admitted.
>>
>
> Yes I understand that. But after looking at your doc, AFAIKT the two
> hierarchies differ precisely on the diamond. In geos there's an inheritance
> link between Puntal and Geometry whereas in JTS Puntal is just an interface,
> and therefore there are no diamonds.
>
> In geos there is:
>
> Geometry
>   |
>   +------- Puntal
>   |          |
>   |          |
>  Point--------+
>
> In JTS:
>
> Geometry
>   |
>   |        Puntal
>   |          |
>   |          |
>  Point--------+
>
>
> Please correct me if I'm missing something here.
>
>
> --
> Maxime
> ______________________________**_________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/geos-devel<http://lists.osgeo.org/mailman/listinfo/geos-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geos-devel/attachments/20110708/600064b3/attachment.html


More information about the geos-devel mailing list