Re: [Geotools-devel] New coordinates formatting options for WFS

2018-09-18 Thread Jody Garnett
Would it be worth just providing a number format template? #,##0.00 The approach would It would cover all these options ... Reference: - https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html -- Jody Garnett On Fri, 14 Sep 2018 at 03:32, Mauro Bartolomeoli < mauro.bartolome...@g

Re: [Geotools-devel] New coordinates formatting options for WFS

2018-09-14 Thread Mauro Bartolomeoli
Hi Andrea, Il giorno ven 14 set 2018 alle ore 12:44 Andrea Aime < andrea.a...@geo-solutions.it> ha scritto: > Hi Mauro, > no concerns on having the extra options, just mind, the class in question > has been written in place of using > a DecimalFormat because the latter was significantly slowing do

Re: [Geotools-devel] New coordinates formatting options for WFS

2018-09-14 Thread Andrea Aime
Hi Mauro, no concerns on having the extra options, just mind, the class in question has been written in place of using a DecimalFormat because the latter was significantly slowing down writing performance, so make sure the extra options do not add slowdowns, or do so only when activated. Cheers An

[Geotools-devel] New coordinates formatting options for WFS

2018-09-14 Thread Mauro Bartolomeoli
Hi, I was asked to improve formatting options for coordinates in WFS output. Currently we only have the ability to set the max # of decimals. We would like to introduce some new options, in particular: - force use of decimals notation, disallowing scientific notation - introduce optional zero (r