Modify ↓
Opened 4 years ago
Closed 4 years ago
#20732 closed enhancement (fixed)
Migrate org.openstreetmap.josm.data.imagery.Shape#coords to java.awt.Polygon
Reported by: | simon04 | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | 21.04 |
Component: | Core | Version: | |
Keywords: | template_report heap profiling intellij yourkit | Cc: |
Description
Reduces heap size of the 1049 Shape instances from 2_649_576 to 808_564.
Attachments (0)
Change History (4)
comment:1 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:2 by , 4 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It causes a massive amount (184) of "Bounds do not match shape" errors in ImageryCompare. Example:
* Bounds do not match shape (is 46.37853,9.54063,49.01266,17.17397, calculated <bounds min-lat='46.37853' min-lon='9.54063' max-lat='49.0126599' max-lon='17.17397'>): [AT] basemap.at Terrain [basemap.at-terrain]
Seems to be a rounding issue. Not sure if the script must be adapted or something fixed in JOSM code.
Note:
See TracTickets
for help on using tickets.
In 17727/josm: