| Summary: | When generating a square lattice graph under some circumstances a line segment (instead of graph) appears in the map view | ||
|---|---|---|---|
| Product: | [Technology] STEM | Reporter: | James Kaufman <jhkauf> |
| Component: | Analysis | Assignee: | Matthew Davis <mattadav> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mattadav |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
James Kaufman
NumberFormatter was causing locale-specific behavior when converting latitude and longitude double value into a string when generating a lattice. This was breaking inlined spatial URIs (comma-separated value list), causing unusual behavior (in this case, a straight line is drawn) This bug is fixed. Use of NumberFormatter was a problem because of internationalization (',' vs '.'). It
led to non unique URI's in the graph that showed up because we use different locales.
There was no error because the generated inline polygon data was CSV anyway but the uri's were not unique and the appended
generated String in the non-US local produced nonsensical (but syntatically valid) sets of coordinates. The problem has been
fixed by avoiding use of the number formatter in appending a unique segment to the UID.
The fix will show up in the next regular build end of next week.
Complete |