logo separator

[mkgmap-dev] mapname splitter V mkgmap

From frmas frmas at free.fr on Mon Aug 17 18:50:26 BST 2009

Hello,

Always testing, to find out what I'm doing wrong.

If I run mkgmap that way :

  OPT_GMAPSUPP="                           \
  -Xmx896M                                 \
  -jar $FILEDIR/mkgmap.jar                 \
  --country-name=$COUNTRY_NAME             \
  --country-abbr=$COUNTRY_ABBR             \
  --family-id=148                          \
  --gmapsupp                               \
  --ignore-maxspeeds                       \
  --ignore-turn-restrictions               \
  --latin1                                 \
  --location-autofill=1                    \
  --lower-case                             \
  --preserve-element-order                 \
  --product-id=$INDEX_CARTE                \
  --remove-short-arcs                      \
  --road-name-pois                         \
  --route                                  \
  --style-file=$FILEDIR/styles/arvernes    \
  --tdbfile                                \
  --transparent                            \
  -c $CARTESDIR/template.args              \
  "

  java $OPT_GMAPSUPP --description="$DESCRIPTION"
--family-name="$FAMILYNAME" --series-name="$SERIESNAME"


Or that way :

  OPT_GMAPSUPP="                           \
  -Xmx896M                                 \
  -jar $FILEDIR/mkgmap.jar                 \
  --country-name=$COUNTRY_NAME             \
  --country-abbr=$COUNTRY_ABBR             \
  --family-id=148                          \
  --ignore-maxspeeds                       \
  --ignore-turn-restrictions               \
  --latin1                                 \
  --location-autofill=1                    \
  --lower-case                             \
  --mapname=09050305                       \
  --preserve-element-order                 \
  --product-id=$INDEX_CARTE                \
  --remove-short-arcs                      \
  --road-name-pois                         \
  --route                                  \
  --style-file=$FILEDIR/styles/arvernes    \
  --tdbfile                                \
  --transparent                            \
  -c $CARTESDIR/template.args              \
  "

  java $OPT_GMAPSUPP --description="$DESCRIPTION"
--family-name="$FAMILYNAME" --series-name="$SERIESNAME"

The map created is always named : 63240500

For the first run, i understand, but for the second, I thought the map
would have been named 09050305.img
Between the two runs, I removed the option --gmapsupp and replaced it
with --mapname=09050305

The template.args file :
mapname: 63240500
description: OSM Map
input-file: 63240500.osm.gz

So I suppose that once the mapname in the template.args file is given, I
can't change it with a parameter on the mkgmap command line, as long as
I use the "-c template.args" parameter ??

Francois
-- 




More information about the mkgmap-dev mailing list