Missing map part in gmapsupp.img

Hello I've recently updated mkgmap version to r4132 (from a ~year old version) and noticed some strange behaviour: 1. Download Lithuanian latest data in pbf from geofabrik 2. Split using latest version of splitter.jar using: java -jar splitter.jar --max-nodes=3200000 ../lithuania-latest.osm.pbf (4 parts are created). 3. add "gmapsupp" option at the end of the automatically generated template.args file. 4. Run: java -jar mkgmap.jar -c template.args Resulting gmapsupp.img file is missing one part - 63240001.img is not included. I do not think something is wrong in the data, because if I copy the contents of 63240001.osm.pbf as 63240005.osm.pbf and append that in arguments file - gmapsupp.img is created correctly with parts (2-5). What am I missing? Thank you -- Tomas

Hi Thomas, this was a bug introduced with r4124. It was fixed just yesterday with r4136. See also http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4124 http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4136 Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Tomas Straupis <tomasstraupis@gmail.com> Gesendet: Mittwoch, 14. März 2018 07:57:41 An: Development list for mkgmap Betreff: [mkgmap-dev] Missing map part in gmapsupp.img Hello I've recently updated mkgmap version to r4132 (from a ~year old version) and noticed some strange behaviour: 1. Download Lithuanian latest data in pbf from geofabrik 2. Split using latest version of splitter.jar using: java -jar splitter.jar --max-nodes=3200000 ../lithuania-latest.osm.pbf (4 parts are created). 3. add "gmapsupp" option at the end of the automatically generated template.args file. 4. Run: java -jar mkgmap.jar -c template.args Resulting gmapsupp.img file is missing one part - 63240001.img is not included. I do not think something is wrong in the data, because if I copy the contents of 63240001.osm.pbf as 63240005.osm.pbf and append that in arguments file - gmapsupp.img is created correctly with parts (2-5). What am I missing? Thank you -- Tomas _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

2018-03-14 10:20 GMT+02:00 Gerd Petermann wrote:
this was a bug introduced with r4124. It was fixed just yesterday with r4136. See also http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4124 http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4136
Thank you, Gerd. That was it. Updated mkgmap, reran the jobs and everything is fine now. -- Tomas

Hi Tomas, thanks for the feedback. Just to let you I wonder what you do with that map. Are you aware of important options like --route, --index, or --housenumbers? Due to historical reasons many important functions are switched off by default, so for a map that supports routing or address search you need many more options. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Tomas Straupis <tomasstraupis@gmail.com> Gesendet: Mittwoch, 14. März 2018 10:14:00 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Missing map part in gmapsupp.img 2018-03-14 10:20 GMT+02:00 Gerd Petermann wrote:
this was a bug introduced with r4124. It was fixed just yesterday with r4136. See also http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4124 http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4136
Thank you, Gerd. That was it. Updated mkgmap, reran the jobs and everything is fine now. -- Tomas _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

2018-03-14 11:47 GMT+02:00 Gerd Petermann wrote:
thanks for the feedback. Just to let you I wonder what you do with that map. Are you aware of important options like --route, --index, or --housenumbers? Due to historical reasons many important functions are switched off by default, so for a map that supports routing or address search you need many more options.
Description I sent was simplified test case which still reproduces an error. I'm recreating free Garmin map of Lithuania daily (garmin.openmap.lt). My actual arguments file looks like given below. Now when you wrote --housenumbers I understand I have to change x-housenumbers to housenumbers (but it should probably have no influence on result) and I should probably add --x-split-name-index to have street names like „Name Surname“ be found for both „Name“ and „Surname“ searches. Thank you for your help! family-id: 1 # product-id: 1 family-name: Lietuva description: Lietuva2018-03-14 country-name: Lietuva country-abbr: LT code-page: 1257 style-file: tomas_style preserve-element-order lower-case route add-pois-to-areas generate-sea: multipolygon coastlinefile: lkrantas.osm x-housenumbers location-autofill: bounds name-tag-list: name:lt,name,int_name,name:en # Following is a list of map tiles. Add a suitable description # for each one. mapname: 63240001 description: OpenStreetMap 2018-03-14 input-file: 63240001.osm.pbf index tdbfile <...same with other parts...> gmapsupp

Hi Gerd, If we have "negative" versions for all options (i.e.: --no-route, --no-index, --no-housenumbers), we could change the defaults to more sane values with little risk. If we don't have them, we should. ;) Best regards, Alexandre Em 14/03/2018 06:47, Gerd Petermann escreveu:
Hi Tomas,
thanks for the feedback. Just to let you I wonder what you do with that map. Are you aware of important options like --route, --index, or --housenumbers? Due to historical reasons many important functions are switched off by default, so for a map that supports routing or address search you need many more options.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Tomas Straupis <tomasstraupis@gmail.com> Gesendet: Mittwoch, 14. März 2018 10:14:00 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Missing map part in gmapsupp.img
2018-03-14 10:20 GMT+02:00 Gerd Petermann wrote:
this was a bug introduced with r4124. It was fixed just yesterday with r4136. See also http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4124 http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4136 Thank you, Gerd. That was it. Updated mkgmap, reran the jobs and everything is fine now.
-- Tomas _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Alexandre Folle de Menezes
-
Gerd Petermann
-
Tomas Straupis