Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315599 - When generating a square lattice graph under some circumstances a line segment (instead of graph) appears in the map view
Summary: When generating a square lattice graph under some circumstances a line segmen...
Status: CLOSED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: Analysis (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthew Davis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 10:23 EDT by James Kaufman CLA
Modified: 2011-07-18 19:44 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Kaufman CLA 2010-06-03 10:23:24 EDT
When generating a square lattice graph under some circumstances a line segment (instead of graph) appears in the map view.
Reported by Matthias Filter
Comment 1 Matthew Davis CLA 2010-06-03 18:17:30 EDT
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)
Comment 2 James Kaufman CLA 2010-06-04 13:40:16 EDT
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.
Comment 3 James Kaufman CLA 2011-07-18 19:44:59 EDT
Complete