
Hi, Got 7 of these errors for US Region_01 (161 tiles). What is the best way to resolve? img file is still created - split into tiles - split contour lines for minor, medium, major into different osm files? - ignore, can't find any obvious problems in the map at this location I use srmt1 hgt 1x1 degree tiles, gdal_contour with 25m contour lines. SEVERE (MapSplitter): Area too small to split at http://www.openstreetmap.org/?lat=43.78618&lon=-113.26460&zoom=17 (reduce the density of points, length of lines, etc.) -- Apollinaris

Hi Apollinaris,
Got 7 of these errors for US Region_01 (161 tiles). What is the best way to resolve? img file is still created - split into tiles - split contour lines for minor, medium, major into different osm files? - ignore, can't find any obvious problems in the map at this location
I use srmt1 hgt 1x1 degree tiles, gdal_contour with 25m contour lines.
SEVERE (MapSplitter): Area too small to split at http://www.openstreetmap.org/?lat=43.78618&lon=-113.26460&zoom=17 (reduce the density of points, length of lines, etc.)
As an experiment, you could reduce the value on line 139 of uk.me.parabola.mkgmap.build.MapSplitter.java from 100. That value is quite arbitrary. It would be interesting to see what happens if you set it to, say, 10. Splitting the contour lines into a small number of pieces should also make the problem go away. i.e. halve or quarter them. Cheers, Mark

Mark Burton wrote:
Hi Apollinaris,
Got 7 of these errors for US Region_01 (161 tiles). What is the best way to resolve? img file is still created - split into tiles - split contour lines for minor, medium, major into different osm files? - ignore, can't find any obvious problems in the map at this location
I use srmt1 hgt 1x1 degree tiles, gdal_contour with 25m contour lines.
SEVERE (MapSplitter): Area too small to split at http://www.openstreetmap.org/?lat=43.78618&lon=-113.26460&zoom=17 (reduce the density of points, length of lines, etc.)
As an experiment, you could reduce the value on line 139 of uk.me.parabola.mkgmap.build.MapSplitter.java from 100. That value is quite arbitrary. It would be interesting to see what happens if you set it to, say, 10.
Splitting the contour lines into a small number of pieces should also make the problem go away. i.e. halve or quarter them.
Cheers,
Mark
I get a different error with UK contour lines from SRTM data: SEVERE (Polyline): Problem writing line (class uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x20 containing 2 points and starting at http://www.openstreetmap.org/?lat=51.41591&lon=-8.33332&zoom=17 SEVERE (Polyline): Subdivision shift is 0 and its centre is at http://www.openstreetmap.org/?lat=51.61371&lon=-6.94443 &zoom=17 SEVERE (Polyline): deltaLong = -64727 SEVERE (Polyline): Problem writing line (class uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x20 containing 2 points and starting at http://www.openstreetmap.org/?lat=50.30011&lon=-4.08691&zoom=17 SEVERE (Polyline): Subdivision shift is 0 and its centre is at http://www.openstreetmap.org/?lat=50.55436&lon=-6.21011 &zoom=17 SEVERE (Polyline): deltaLong = 98948 SEVERE (Polyline): Problem writing line (class uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x20 containing 2 points and starting at http://www.openstreetmap.org/?lat=50.30584&lon=-4.08691&zoom=17 SEVERE (Polyline): Subdivision shift is 0 and its centre is at http://www.openstreetmap.org/?lat=50.86086&lon=-6.21011 &zoom=17 SEVERE (Polyline): deltaLong = 98948 Like with Apollinaris, the compilation still finishes and the tiles work fine in the GPS. Charlie

Hi Charlie,
I get a different error with UK contour lines from SRTM data:
SEVERE (Polyline): Problem writing line (class uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x20 containing 2 points and starting at http://www.openstreetmap.org/?lat=51.41591&lon=-8.33332&zoom=17 SEVERE (Polyline): Subdivision shift is 0 and its centre is at http://www.openstreetmap.org/?lat=51.61371&lon=-6.94443 &zoom=17 SEVERE (Polyline): deltaLong = -64727 SEVERE (Polyline): Problem writing line (class uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x20 containing 2 points and starting at http://www.openstreetmap.org/?lat=50.30011&lon=-4.08691&zoom=17 SEVERE (Polyline): Subdivision shift is 0 and its centre is at http://www.openstreetmap.org/?lat=50.55436&lon=-6.21011 &zoom=17 SEVERE (Polyline): deltaLong = 98948 SEVERE (Polyline): Problem writing line (class uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x20 containing 2 points and starting at http://www.openstreetmap.org/?lat=50.30584&lon=-4.08691&zoom=17 SEVERE (Polyline): Subdivision shift is 0 and its centre is at http://www.openstreetmap.org/?lat=50.86086&lon=-6.21011 &zoom=17 SEVERE (Polyline): deltaLong = 98948
Like with Apollinaris, the compilation still finishes and the tiles work fine in the GPS.
Yeah, these errors still occur. I did spend some time trying to eradicate them but gave up in the end as a solution was not forthcoming. What's odd about your messages is that they say the lines only contain two points. Are they long straight lines? Cheers, Mark

Hi Mark, error is gone and tiles is ok in qlandkarte. will run all failing tiles now thanks On 12/22/2009 01:25 AM, Mark Burton wrote:
Hi Apollinaris,
Got 7 of these errors for US Region_01 (161 tiles). What is the best way to resolve? img file is still created - split into tiles - split contour lines for minor, medium, major into different osm files? - ignore, can't find any obvious problems in the map at this location
I use srmt1 hgt 1x1 degree tiles, gdal_contour with 25m contour lines.
SEVERE (MapSplitter): Area too small to split at http://www.openstreetmap.org/?lat=43.78618&lon=-113.26460&zoom=17 (reduce the density of points, length of lines, etc.)
As an experiment, you could reduce the value on line 139 of uk.me.parabola.mkgmap.build.MapSplitter.java from 100. That value is quite arbitrary. It would be interesting to see what happens if you set it to, say, 10.
Splitting the contour lines into a small number of pieces should also make the problem go away. i.e. halve or quarter them.
Cheers,
Mark
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Mark Burton wrote:
Hi,
error is gone and tiles is ok in qlandkarte. will run all failing tiles now
Sorry, is that with the number reduced to 10? If so, I may as well commit that change.
Cheers,
Mark No, I'm afraid I haven't got the wits to edit source code and recompile. If you can send me a compiled version I can test it.
-- Charlie

Hi Charlie,
error is gone and tiles is ok in qlandkarte. will run all failing tiles now
Sorry, is that with the number reduced to 10? If so, I may as well commit that change.
Cheers,
Mark No, I'm afraid I haven't got the wits to edit source code and recompile. If you can send me a compiled version I can test it.
That change was suggested as a possible fix for the "area to small to split" problem. It's unlikely to help with the "problem writing line" problem. If your contour lines had more points in them (rather than just 2!) the error may go away. Cheers, Mark

Hi Mark, yes, all tiles processed with setting to 10 Apollinaris On 22 Dec 2009, at 2:22 , Mark Burton wrote:
Hi,
error is gone and tiles is ok in qlandkarte. will run all failing tiles now
Sorry, is that with the number reduced to 10? If so, I may as well commit that change.
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Apollinaris Schoell
-
Charlie Ferrero
-
Mark Burton