Hi Kay, the mentioned folder is for waypoints only. POI icons are something different and very vendor specific. There is quite a huge catalog of known POI types that needs to be integrated into QLGT with the appropriate icons attached. And the copyright holder of the icons must allow to use them. Simply copying Garmin icons is no way.
If you have a look into CMapTDB::setup() you will see how the default setup is done for the polylines and polygons. It would need something similar for the POIs. The structure point_property needs a constructor added, to setup the icons and the default strings. And then the dictionary pointProperties has to e filled. A major task will be to find a good table for tho POI's type ids. Afaik the source code of GPSMapEdit is a good address to start. In src/icons/wpt is a larger collection of icons that might be used. Oliver > Gesendet: Donnerstag, 17. Oktober 2013 um 11:53 Uhr > Von: "Kay F. Jahnke" <[email protected]> > An: [email protected] > Betreff: Re: [Qlandkartegt-users] displaying standard POIs from garmin maps > in qlandkartegt > > On 16.10.2013 19:33, Oliver Eichler wrote: > > Hi Kay, > > > > there are no default icons for the POIs in QLGT. It's just the blue dot. > > To change this it would need someone to donate appropriate icons to the > > project and to integrate them into QLGt. > > If I put icon data into /home/kfj/.config/QLandkarteGT/WaypointIcons, > will they be displayed? I read that, if garmin naming conventions are > followed, using <name>.png in that folder would make qlgt display the > appropriate icon. So far I have failed to get this to work. > > If merely putting the icons into a folder was all the integration that > is needed this would not be too hard a task. Or is there something else > that would need to be done? I might be able to help. > > > I can't tell you about the name tags. Without a detailed analysis it's > > impossible to tell if the names are a bad decoding or real names. As a > > name is a name and most users will expect the nama as a label, not the > > type, I do not want to change the behavior. > > I found the problem with the erroneous names: it was due to the mkgmap > version I was using. Updating to the latest mkgmap version fixed it. > Sorry for the noise! And thanks for the prompt reply. > > Kay > > > > > Oliver > > > > > Hi group! > > > > > > > > > > I have a made garmin map in .img format (for etrex vista, 60c and the > > > > > likes), made up from saveral layers. One of these layers is made from > > > > > OSM data and contains the usual POIs (bars, bus stops, etc.) with their > > > > > standard codes. These POIs show up with their appropriate icons in > > > > > mapsource and basecamp, but in qlandkartegt they only show as blue dots. > > > > > Their names are displayed correctly. Other POIs, for which I have drawn > > > > > symbols myself and put them into the TYP file show just fine. I have > > > > > searched for a fix for this problem all over the web and in this ML, but > > > > > I haven't found anything. My install is qlgt 1.40, installed from the > > > > > ppa into a kubuntu 12.04 system. > > > > > > > > > > Also, some of the POIs (both mine and the standard ones) have strange > > > > > name tags attached to them, like "BU SBPWPP0" or "H8JGC9209.1". I would > > > > > like them to be labeled with their POI type, if at all, or merely > > > > > represented by the appropriate symbol. > > > > > > > > > > Have a look at a screenshot displaying the problem at > > > > > > > > > > https://www.dropbox.com/s/jfzgo810i2fd7cz/qlgt_wrong_icons.jpg > > > > > > > > > > Help appreciated. > > > > > Kay > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > -- October Webinars: Code for Performance > > > > > Free Intel webinars can help you accelerate application performance. > > > > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > > > > > from the latest Intel processors and coprocessors. See abstracts and > > > > > register > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > > > > > _______________________________________________ > > > > > Qlandkartegt-users mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users > > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > > from > > the latest Intel processors and coprocessors. See abstracts and register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > > > > > > > > _______________________________________________ > > Qlandkartegt-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users > > > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
