
Hi! I create map (contour) with: mkgmap --gmapsupp --tdbfile \ --family-name="NASA-SRTM-Topo" \ --product-id=9 \ --family-id=99 \ --series-name="Vyatka-topo" \ --description="Centae" \ --country-name="RUSSIA" --country-abbr="RU" \ --charset=cp1251 --lower-case \ --style-file=stranger/ \ --output-dir=elev/ \ --draw-priority=31 \ --transpatent \ elev/*.osm \ topo.TYP But map not transparent. In GMapTool i see that map not have T flag. I test in in 1673 and 1699.

Maks Vasilev (max@stranger-team.ru) wrote:
Hi!
I create map (contour) with:
mkgmap --gmapsupp --tdbfile \ --family-name="NASA-SRTM-Topo" \ --product-id=9 \ --family-id=99 \ --series-name="Vyatka-topo" \ --description="Centae" \ --country-name="RUSSIA" --country-abbr="RU" \ --charset=cp1251 --lower-case \ --style-file=stranger/ \ --output-dir=elev/ \ --draw-priority=31 \ --transpatent \ elev/*.osm \ topo.TYP
But map not transparent. In GMapTool i see that map not have T flag. I test in in 1673 and 1699. _______________________________________________ Hi,
It's --transparent, not --transpatent -- Charlie

OMG! sorry :( В сообщении от Понедельник 20 сентября 2010 21:49:03 автор charlie@cferrero.net написал:
Maks Vasilev (max@stranger-team.ru) wrote:
Hi!
I create map (contour) with:
mkgmap --gmapsupp --tdbfile \
--family-name="NASA-SRTM-Topo" \ --product-id=9 \ --family-id=99 \ --series-name="Vyatka-topo" \ --description="Centae" \ --country-name="RUSSIA" --country-abbr="RU" \ --charset=cp1251 --lower-case \ --style-file=stranger/ \ --output-dir=elev/ \ --draw-priority=31 \ --transpatent \ elev/*.osm \ topo.TYP
But map not transparent. In GMapTool i see that map not have T flag.
I test in
in 1673 and 1699. _______________________________________________
Hi,
It's --transparent, not --transpatent

On Mon, Sep 20, 2010 at 10:15:58PM +0400, Maks Vasilev wrote:
OMG! sorry :(
But you could rightfully complain that mkgmap silently ignores unknown command line switches. As far as I understand, the problem is that there is no centralized command line parsing. Each code snippet looks for its own magic parameter among all command line options. One thing that could be done is to set a flag whenever an option gets processed. Then, at the end of the run, mkgmap could list the ignored options. Best regards, Marko

But you could rightfully complain that mkgmap silently ignores unknown command line switches. As far as I understand, the problem is that there is no centralized command line parsing. Each code snippet looks for its own magic parameter among all command line options. One thing that could be done is to set a flag whenever an option gets processed. Then, at the end of the run, mkgmap could list the ignored options.
Have a look at the command line parsing stuff I added to the splitter, it makes it pretty easy to validate and document the params. Maybe a similar approach could be used in mkgmap? Chris

On 09/20/2010 07:35 PM, Marko Mäkelä wrote:
On Mon, Sep 20, 2010 at 10:15:58PM +0400, Maks Vasilev wrote:
OMG! sorry :(
But you could rightfully complain that mkgmap silently ignores unknown command line switches. As far as I understand, the problem is that there
I made a patch to check arguments a while back I'll dig it up and apply it. ..Steve
participants (5)
-
charlie@cferrero.net
-
Chris Miller
-
Maks Vasilev
-
Marko Mäkelä
-
Steve Ratcliffe