[geos-devel] Delocalizing the WKT writer?
Sean Gillies
sgillies at frii.com
Thu Aug 28 18:24:52 EDT 2008
Mateusz Loskot wrote:
> Sean Gillies wrote:
>> Mateusz Loskot wrote:
>>> Mateusz Loskot wrote:
>>>> I'm going to try to review and reafactor WKT classes to base on C++ I/O
>>> I've forgot to add, that I'd suggest to leave current solution, possibly
>>> fixed with CPLLocaleC class, until I bring better solution into
>>> WKTReader/WKTWriter.
>>>
>>> Best regards,
>>
>> Okay. I'll learn what I can from CPLLocaleC.
>
> Sean, thanks for fixing.
> It's simple to use CPLLocaleC class
>
> void foo() // function that is assumed to depend on C locale
> {
> CPLLocaleC loc; // set "C" locale
>
> // ... some operations that should be locale indenendent
>
>
> } // loc destructor resets locale back to original
>
Thanks, Mateusz. Here's my new and improved solution:
http://trac.osgeo.org/geos/changeset/2174
Sean
More information about the geos-devel
mailing list