splitter r585 implements new option align-for-dem

Hi all, see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=585 If I got that right you can use dem-dist 9942 for level 0 if hgt files are in 3'' resolution and splitter was executed with --align-for-dem=1200. For hgt 1'' files use dem-dist 3342 for level 0 and --align-for-dem=3600. This should reduce DEM size a lot AND increase precision. Gerd

Hi Gerd, in some posts are written different -dem-dist . Which is the right, 3314 or 3342 ? For using with --align-for-dem 1" hgt ? thomas -------------------------------------------------- Von: "Gerd Petermann" <GPetermann_muenchen@hotmail.com> Datum: Mittwoch, 17. Januar 2018 17:42 An: <mkgmap-dev@lists.mkgmap.org.uk> Betreff: [mkgmap-dev] splitter r585 implements new option align-for-dem
Hi all,
see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=585
If I got that right you can use dem-dist 9942 for level 0 if hgt files are in 3'' resolution and splitter was executed with --align-for-dem=1200. For hgt 1'' files use dem-dist 3342 for level 0 and --align-for-dem=3600.
This should reduce DEM size a lot AND increase precision.
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Thomas, oops, sorry, 3342 was a typo, should be 3314 ~ 2^32 / (360 * 3600) and 9942 ~ 2^32 / (360*1200) Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Thomas Morgenstern <webmaster@img2ms.de> Gesendet: Donnerstag, 18. Januar 2018 10:49:32 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] splitter r585 ; dem-dist 3342 or 3314 ? Hi Gerd, in some posts are written different -dem-dist . Which is the right, 3314 or 3342 ? For using with --align-for-dem 1" hgt ? thomas -------------------------------------------------- Von: "Gerd Petermann" <GPetermann_muenchen@hotmail.com> Datum: Mittwoch, 17. Januar 2018 17:42 An: <mkgmap-dev@lists.mkgmap.org.uk> Betreff: [mkgmap-dev] splitter r585 implements new option align-for-dem
Hi all,
see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=585
If I got that right you can use dem-dist 9942 for level 0 if hgt files are in 3'' resolution and splitter was executed with --align-for-dem=1200. For hgt 1'' files use dem-dist 3342 for level 0 and --align-for-dem=3600.
This should reduce DEM size a lot AND increase precision.
Gerd _______________________________________________ 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

Hi Gerd, I have quite bad news. My map of China increased size about 300 mb (before 1.6 Gb, now 1.9Gb) just by following this suggestion adding --align-for-dem=1200. hgt-files are same, osm-data is same. bounding polygon for splitter is same and also tiles look similar. I was using latest mkgmap (4070) for both tests and x-dem-dist=9942,9942,9942,19884,39768 x-overview-dem-dist=79536 South east asia increased from 1.15 to 1.4 Gb with same work flow. I'm sorry :-(. If you need anything or if I should test something, please let me know. Henning On 18.01.2018 01:42, Gerd Petermann wrote:
Hi all,
see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=585
If I got that right you can use dem-dist 9942 for level 0 if hgt files are in 3'' resolution and splitter was executed with --align-for-dem=1200. For hgt 1'' files use dem-dist 3342 for level 0 and --align-for-dem=3600.
This should reduce DEM size a lot AND increase precision.
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Henning, this is not surprising for me. Tiles should be a bit different, if you look at them in JOSM you have to zoom to maybe 30 m. Why does the size grow? The effect of the alignment is higher precision, means, less interpolation. With interpolation, the values are averaged, so deltas are smaller and thus the number of bits to store the deltas are smaller. So, if you already used 9942 as dem-dist for level 0 before the only improvement is precision. Other users use e.g. dem-dists=3312,3312,... and for those I would also expect a decrease in size. OK? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Donnerstag, 18. Januar 2018 15:33:56 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r585 implements new option align-for-dem Hi Gerd, I have quite bad news. My map of China increased size about 300 mb (before 1.6 Gb, now 1.9Gb) just by following this suggestion adding --align-for-dem=1200. hgt-files are same, osm-data is same. bounding polygon for splitter is same and also tiles look similar. I was using latest mkgmap (4070) for both tests and x-dem-dist=9942,9942,9942,19884,39768 x-overview-dem-dist=79536 South east asia increased from 1.15 to 1.4 Gb with same work flow. I'm sorry :-(. If you need anything or if I should test something, please let me know. Henning On 18.01.2018 01:42, Gerd Petermann wrote:
Hi all,
see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=585
If I got that right you can use dem-dist 9942 for level 0 if hgt files are in 3'' resolution and splitter was executed with --align-for-dem=1200. For hgt 1'' files use dem-dist 3342 for level 0 and --align-for-dem=3600.
This should reduce DEM size a lot AND increase precision.
Gerd _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Sorry, I forgotten to add this: It seems the reason is that --polygon-desc-file is not working well any more. So main reason is, that the map is getting bigger. You can see it in last mails attached kml-files. Henning On 18.01.2018 22:33, Henning Scholland wrote:
Hi Gerd, I have quite bad news.
My map of China increased size about 300 mb (before 1.6 Gb, now 1.9Gb) just by following this suggestion adding --align-for-dem=1200.
hgt-files are same, osm-data is same. bounding polygon for splitter is same and also tiles look similar. I was using latest mkgmap (4070) for both tests and x-dem-dist=9942,9942,9942,19884,39768 x-overview-dem-dist=79536
South east asia increased from 1.15 to 1.4 Gb with same work flow.
I'm sorry :-(. If you need anything or if I should test something, please let me know.
Henning
On 18.01.2018 01:42, Gerd Petermann wrote:
Hi all,
see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=585
If I got that right you can use dem-dist 9942 for level 0 if hgt files are in 3'' resolution and splitter was executed with --align-for-dem=1200. For hgt 1'' files use dem-dist 3342 for level 0 and --align-for-dem=3600.
This should reduce DEM size a lot AND increase precision.
Gerd _______________________________________________ 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

Hi Gerd I imported both kml-files to josm and added some taggs to make it more clear. landuse=grass -> split result based on r584 and also roughly same as polygon used by splitter landuse=industrial -> result with r585 and alignment to DEM. These tiles should be in templates args landuse =industrial + natural=water -> these tiles r585 adds also to templates.args, but they are mainly out of map area. Maybe only inside with a small area because of new alignment. Henning

Hi Henning, yes, I also see such differences. Looking at it now... Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Donnerstag, 18. Januar 2018 16:28:16 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r585 implements new option align-for-dem Hi Gerd I imported both kml-files to josm and added some taggs to make it more clear. landuse=grass -> split result based on r584 and also roughly same as polygon used by splitter landuse=industrial -> result with r585 and alignment to DEM. These tiles should be in templates args landuse =industrial + natural=water -> these tiles r585 adds also to templates.args, but they are mainly out of map area. Maybe only inside with a small area because of new alignment. Henning

Hi Gerd I imported both kml-files to josm and added some taggs to make it more clear. landuse=grass -> split result based on r584 and also roughly same as polygon used by splitter landuse=industrial -> result with r585 and alignment to DEM. These tiles should be in templates args landuse =industrial + natural=water -> these tiles r585 adds also to templates.args, but they are mainly out of map area. Maybe only inside with a small area because of new alignment. Henning

Hi Henning, please try r586, see http://www.mkgmap.org.uk/websvn/revision.php?repname=splitter&rev=586 Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Donnerstag, 18. Januar 2018 16:31:29 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r585 implements new option align-for-dem Hi Gerd I imported both kml-files to josm and added some taggs to make it more clear. landuse=grass -> split result based on r584 and also roughly same as polygon used by splitter landuse=industrial -> result with r585 and alignment to DEM. These tiles should be in templates args landuse =industrial + natural=water -> these tiles r585 adds also to templates.args, but they are mainly out of map area. Maybe only inside with a small area because of new alignment. Henning
participants (4)
-
Gerd Petermann
-
Gerd Petermann
-
Henning Scholland
-
Thomas Morgenstern