#14343 closed enhancement (fixed)
[Patch] GPS heat map should also support point clouds
Reported by: | kidelo | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.02 |
Component: | Core | Version: | |
Keywords: | gps track, rendering, colormap, visualization | Cc: | Don-vip, michael2402, kidelo, Klumbumbus |
Description (last modified by )
Disadvantage:
With current implementation of GPS heatmap mode the lines of tracks are highlighted only.
Sometimes it would be better to see the distribution of points instead of lines.
see ticket:13124
Attachments (13)
Change History (25)
Changed 7 years ago by
Attachment: | josm_ticket_1434_gps_heat_map _point_cloud_v1_by_kidelo.patch added |
---|
comment:1 Changed 7 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from team to kidelo |
Status: | new → needinfo |
Changed 7 years ago by
Attachment: | heatmap_color_user_light.png added |
---|
Changed 7 years ago by
Attachment: | heatmap_color_user_normal.png added |
---|
Changed 7 years ago by
Attachment: | heatmap_config_new.png added |
---|
Changed 7 years ago by
Attachment: | heatmap_color_traffic_lights.png added |
---|
Changed 7 years ago by
Attachment: | heatm_draw_lines.png added |
---|
Changed 7 years ago by
Attachment: | heatm_draw_points.png added |
---|
Changed 7 years ago by
Attachment: | heatm_example_traffic_lights_draw_points.png added |
---|
Changed 7 years ago by
Attachment: | heatm_example_traffic_lights_normal.png added |
---|
Changed 7 years ago by
Attachment: | heatm_example_traffic_lights_limit_level.png added |
---|
Changed 7 years ago by
Attachment: | heatm_example_inferno_normal.png added |
---|
Changed 7 years ago by
Attachment: | heatm_example_inferno_increase_gain.png added |
---|
Changed 7 years ago by
Attachment: | heatm_example_inferno_decrease_gain.png added |
---|
comment:3 Changed 7 years ago by
comment:4 Changed 7 years ago by
Cc: | Klumbumbus added |
---|
comment:5 Changed 7 years ago by
Summary: | GPS heat map should also support point clouds → [Patch] GPS heat map should also support point clouds |
---|
comment:6 Changed 7 years ago by
Owner: | changed from kidelo to team |
---|---|
Status: | needinfo → new |
comment:9 follow-up: 10 Changed 7 years ago by
Why is the parameter abstractProperty not used?
/** * Constructs a new {@code GpxDrawHelper}. * @param gpxData GPX data * @param abstractProperty The color to draw with * @since 10824 */ public GpxDrawHelper(GpxData gpxData, AbstractProperty<Color> abstractProperty) { data = gpxData; setupColors(); }
comment:10 Changed 7 years ago by
Replying to Don-vip:
Why is the parameter abstractProperty not used?
/** * Constructs a new {@code GpxDrawHelper}. * @param gpxData GPX data * @param abstractProperty The color to draw with * @since 10824 */ public GpxDrawHelper(GpxData gpxData, AbstractProperty<Color> abstractProperty) { data = gpxData; setupColors(); }
The ctor parameter was introduced in 10824/josm, see #13309 (ticket). I am not sure why the parameter was not used. Looks like original idea was to bring the caching behavior to the GPXLayer. But the GpxLayer forward the paint() requests to GpxDrawHelper where a internal caching mechanism ( based on color, GPX style, current view area ) is used.
… import org.openstreetmap.josm.gui.dialogs.LayerListDialog; … … public class GpxLayer extends Layer { 96 96 } 97 97 98 98 @Override 99 public Color getColor(boolean ignoreCustom) { 100 return drawHelper.getColor(getName(), ignoreCustom); 99 protected ColorProperty getBaseColorProperty() { 100 return GpxDrawHelper.DEFAULT_COLOR; 101 101 }
We should remove this parameter here and all is fine.
comment:11 Changed 7 years ago by
OK sorry I though it was introduced with color heat map, my mistake :)
Some news: Here an update for GPS heatmap with enhancements which I had in mind. Please check and give feedback.
NEW: Heat Map mode now supports two difference modes
NEW: Overlay Gain Adjustment
NEW: Limitation of Visibility
IMPROVED: 2x new color maps