cgeo/c-geo-opensource — Issue #769: GeopointFormatter is too broad for our use
Author: samueltardieu
Created: 2011-11-09 16:57:55+00:00
State: open
Labels: refactoring

Our `GeopointFormatter` class is great but not optimal: we do not need to generate arbitrary formatted coordinates. This would be different if it belonged to a library.

Reducing it to the set of formats used internally in c:geo reduces the total code size by approximately 200 lines, and ensures maximum performance. Of course, the old one will still be recoverable from git if someone wants to use it in a library.