Originally Posted by WallyD
In order to fix a problem with edited waypoint icons disappearing, imported gpx files now default to a question mark for the icon. When I had to restore my computer and reinstall Open CPN
most of my waypoints came in as question marks without names visible on the chart. Two questions:
(1) is there a way to batch change all or a subset of your waypoint icons?
(2) how do you make the waypoint names visible for all waypoints as the default?
I have done similar per your query with success. but don't feel like revisiting it to see if this is what I did right now...so, you can try this. It's where I would start unless you wait for a better answer....? If you made the original gpx's with opencpn
it should be easy
You can use a text editor application to replace the existing icons in your .gpx. I use "Notepad++" It has a "search for all instances+replace all " function.
..assuming there are several of the same name, and you just want one of opencpns defaults, replace your lost
icons in the gpx with the default
triangle or circle etc.
It would look like this in the gpx file.
...You would only need search for <sym>
to find them and then replace all of the same icon as in search
all with <sym>triangle</sym>
. I include the whole line as a safe habit.
you can find your custom icons, put them in opencpn's UserIcons folder, then your old icons may reappear.
You might also have a look at the .ini file...I have an entry under the heading [Settings/Others]
DefaultWPIcon=triangle (or circle or mylosticon..)
If you are using another application to make gpx files and it's default icons, you should note the name of the icon it uses and make one of the same name for your UserIcons folder
look at this section of the opencpn
type gpx: (Other applications do not often have this)
...again find and replace all instances of <opencpn:viz_name>0</opencpn:viz_name>
Hope it helps.