bilaldursun1 / nettopologysuite

Automatically exported from code.google.com/p/nettopologysuite
0 stars 0 forks source link

WKTWriter's static methods are not culture independent #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The results of the following WKTWriter methods currently depend on the 
UI/application culture. This must not be the case as they create invalid WKT:

* ToPoint()
* ToLineString()

A patch can be found here:

https://bitbucket.org/mayastudios_3rdparty/nts-src/changeset/ebbb3d9142dc08c9e26
d30d696980861921b7645

Original issue reported on code.google.com by goo...@mail.manski.net on 21 Aug 2012 at 2:48

GoogleCodeExporter commented 9 years ago
looks that there are also other parts of WKTWriter that needs to be fixed (like 
appendcoordinate method).

Original comment by diegogu...@gmail.com on 22 Aug 2012 at 8:14

GoogleCodeExporter commented 9 years ago
after a brief investigation I see that the methods you check are actually 
"debug" methods, so your issue looks valid but doesn't affect actual NTS code.

Original comment by diegogu...@gmail.com on 22 Aug 2012 at 8:28

GoogleCodeExporter commented 9 years ago
fixed with changeset 870

Original comment by diegogu...@gmail.com on 22 Aug 2012 at 8:38