Quantcast

two times the same bug

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

two times the same bug

Fernando González
Hi Martin, Hi all,

Yes, it is so hard to find bugs in JTS that I had no option but find twice the same bug. I have debugged for a while and I run into the very same problem that I found here (http://lists.refractions.net/pipermail/jts-devel/2008-March/002391.html).

However, trying to workaround the problem differently than before, I have tried to find the geometry dimension by calling the Geometry CoordinateSequence.getDimension() method but it returns always 3 in case of CoordinateArraySequence. Is this done on purpose?

By the way, is there any plan to release a new JTS version?

Thanks in advance,
Fernando

_______________________________________________
jts-devel mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/jts-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: two times the same bug

Martin Davis


Fernando González wrote:

> Hi Martin, Hi all,
>
> Yes, it is so hard to find bugs in JTS that I had no option but find
> twice the same bug. I have debugged for a while and I run into the
> very same problem that I found here
> (http://lists.refractions.net/pipermail/jts-devel/2008-March/002391.html).
>
> However, trying to workaround the problem differently than before, I
> have tried to find the geometry dimension by calling the Geometry
> CoordinateSequence.getDimension() method but it returns always 3 in
> case of CoordinateArraySequence. Is this done on purpose?
I'll say yes...  Coordinates support 3 dimensions, and there's no way of
informing them that you are only using 2 of them.  So returning 3 is the
only safe thing to do.
>
> By the way, is there any plan to release a new JTS version?
Yep, 1.10 is close to being finalized.  I have just completed some major
improvements to buffering - so that seems like a nice place to cut a new
version!

>
> Thanks in advance,
> Fernando
> ------------------------------------------------------------------------
>
> _______________________________________________
> jts-devel mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/jts-devel
>  

--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022

_______________________________________________
jts-devel mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/jts-devel
Loading...