[mkgmap-dev] DP Filter and areas at Resolution=24

2009-11-26 Thread Felix Hartmann
Could the DP Filter not remove any points at resolution=24? Or is there another reason why many small polygons like buildings get mashed? In most cases there are not even any reductions in points needed to draw the areas. mkgmap: vs mapnik:

Re: [mkgmap-dev] DP Filter and areas at Resolution=24

2009-11-26 Thread Mark Burton
Hi Felix, Could the DP Filter not remove any points at resolution=24? It doesn't do anything at that res. Or is there another reason why many small polygons like buildings get mashed? Yes, the reason is that the coordinates round to approx the nearest 2m. We can't do anything about that,

Re: [mkgmap-dev] DP Filter and areas at Resolution=24

2009-11-26 Thread Felix Hartmann
Mark Burton wrote: Hi Felix, Could the DP Filter not remove any points at resolution=24? It doesn't do anything at that res. Or is there another reason why many small polygons like buildings get mashed? Yes, the reason is that the coordinates round to approx the nearest

Re: [mkgmap-dev] [PATCH v2] Fix Nuvi routing regression (rebloat Table A)

2009-11-26 Thread Marko Mäkelä
Hi Mark, On Thu, Nov 26, 2009 at 12:08:03AM +, Mark Burton wrote: PS - Marko, please try this and see if the routing problems you were experiencing still occur. Also, please try it on your Nuvi user and see if their problems go away. My Edge 705 calculates a 22.7 km route to Pasila

Re: [mkgmap-dev] DP Filter and areas at Resolution=24

2009-11-26 Thread Johann Gail
Felix Hartmann schrieb: Mark Burton wrote: Hi Felix, Could the DP Filter not remove any points at resolution=24? It doesn't do anything at that res. At the moment it does nothing, but I'm not sure, if it SHOULD do something at this level, as there may be well some points to

Re: [mkgmap-dev] [PATCH v2] Fix Nuvi routing regression (rebloat Table A)

2009-11-26 Thread Mark Burton
Hi Marko, Thanks for the report. My Edge 705 calculates a 22.7 km route to Pasila railway station just fine, except that it now seems to favor smaller roads with more intersections. What do you think, would it be worthwhile to have some middle ground for Table A? Not one entry per arc nor

[mkgmap-dev] Style-file repository?

2009-11-26 Thread charlie
Quoting Marko Mäkelä marko.mak...@iki.fi: The attached patch replaces the + in the names of shelter-equipped bus/tram/train stops with * when lit=yes. When travelling by foot or bicycle during dark time of a day, it can be helpful to find the nearest lit shelter for a break. Best regards,

Re: [mkgmap-dev] Style-file repository?

2009-11-26 Thread Marko Mäkelä
On Thu, Nov 26, 2009 at 11:05:01AM +, char...@cferrero.net wrote: Quoting Marko Mäkelä marko.mak...@iki.fi: The attached patch replaces the + in the names of shelter-equipped bus/tram/train stops with * when lit=yes. When travelling by foot or bicycle during dark time of a day, it

[mkgmap-dev] Log-File for mkgmap-processing

2009-11-26 Thread Jan Tappenbeck
hi ! is there a possiblity to get a log-report for the steps of mkgmap-processing ??? the result is empty so i want to find the reason. regards Jan :-) ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk

Re: [mkgmap-dev] Log-File for mkgmap-processing

2009-11-26 Thread Marko Mäkelä
On Thu, Nov 26, 2009 at 01:17:11PM +0100, Jan Tappenbeck wrote: is there a possiblity to get a log-report for the steps of mkgmap-processing ??? the result is empty so i want to find the reason. I am not sure if this is what you mean, but at http://www.polkupyoraily.net/osm/ you can find a

Re: [mkgmap-dev] [PATCH v2] Fix Nuvi routing regression (rebloat Table A)

2009-11-26 Thread Marko Mäkelä
Hi Mark, My Edge 705 calculates a 22.7 km route to Pasila railway station just fine, except that it now seems to favor smaller roads with more intersections. What do you think, would it be worthwhile to have some middle ground for Table A? Not one entry per arc nor one entry per way,

Re: [mkgmap-dev] Log-File for mkgmap-processing

2009-11-26 Thread Jan Tappenbeck
hi marko! that is the think i search but. when i used java -Xmx1024M -ea -Dlog.config=logging.properties -jar D:\DATEN\JAN\openstreetmap\mkgmap-GarminKartenGenerieren2009\mkgmap.jar --style-file=D:\DATEN\JAN\openstreetmap\mkgmap_st. i get following message: Failed to open logging

Re: [mkgmap-dev] Log-File for mkgmap-processing

2009-11-26 Thread Marko Mäkelä
On Thu, Nov 26, 2009 at 01:56:53PM +0100, Jan Tappenbeck wrote: hi marko! that is the think i search but. when i used java -Xmx1024M -ea -Dlog.config=logging.properties -jar D:\DATEN\JAN\openstreetmap\mkgmap-GarminKartenGenerieren2009\mkgmap.jar

[mkgmap-dev] weird: file missing when # of files 10?

2009-11-26 Thread Valentijn Sessink
Hi list, I wrote about this before: my first map in the mapset, 63240001.img, is missing. I tracked this down to revision r1363 (which is a merge from the mapset branch) and today even further tracked it down to revision 1323 within the (deleted) mapset branch. However, I can't find any clues

Re: [mkgmap-dev] [PATCH v1] make DP filter avoid removing points located at nodes

2009-11-26 Thread Johann Gail
So in my opinion the error is in the copy function of the line. If a line contains CoordNodes, than also the copy should contain CoordNodes. Can you point me to the code, where the lines gets duplicated? Whenever a routable way gets split to limit the number of points or nodes it

Re: [mkgmap-dev] [PATCH] patch (V8) for simplifying ways and reducing img size

2009-11-26 Thread Johann Gail
Patch V8 updated to r1404. - do not merge lines at resolution 24, as the dp filter is disabled. With this change there should be no longer routing problems. --- Patch V7 is now based on the R1041 (and the SizeFilter.patch) -

Re: [mkgmap-dev] [PATCH v1] make DP filter avoid removing points located at nodes

2009-11-26 Thread Mark Burton
Hi Johann, I have now looked into the code and must say, I don't understand why it works. Previous for each node was created a CoordNode. Now instead a flag is set. I see the difference: The flag is copied, the class obviously not. But I didn't find the place, where this copy occurs.

Re: [mkgmap-dev] Map end user documentation?

2009-11-26 Thread Clinton Gladstone
On Nov 26, 2009, at 11:45, Marko Mäkelä wrote: I translated http://www.polkupyoraily.net/osm/ into English and German. Any suggestions for improvement are welcome, as are and any translations for minority languages spoken in Finland: se, sv, et, ru at least. Thanks for providing this. I'll

Re: [mkgmap-dev] [PATCH v2] Fix Nuvi routing regression (rebloat Table A)

2009-11-26 Thread Clinton Gladstone
On Nov 26, 2009, at 1:08, Mark Burton wrote: v2 - now does nothing more (or less) than revert commits 1228 and 1373. I (casually) tested this patch on a Nuvi 255w today: I did not notice any harm done to the routing at least. Since I don't have a standard set of tests, I can't report if the

Re: [mkgmap-dev] DP Filter and areas at Resolution=24

2009-11-26 Thread Thilo Hannemann
One idea for rounding at that level: Most annoying is that rectangles that are buildings aren't rectangles anymore after rounding. As the OSM data in itself probably isn't accurate at the 2 m level perhaps we could do tweak the coordinates so that rectangles stay rectangles (I know, the

Re: [mkgmap-dev] [PATCH v1] make DP filter avoid removing points located at nodes

2009-11-26 Thread Johann Gail
As I said in a previous posting on this topic: mb Whenever a routable way gets split to limit the number of points or mb nodes it makes a new list of points so any changes to the points in the mb new list will not be visible in the original list. So, wherever you see splitWay() that's

Re: [mkgmap-dev] [PATCH v1] make DP filter avoid removing points located at nodes

2009-11-26 Thread Mark Burton
Johann, On Thu, 26 Nov 2009 23:53:58 +0100 Johann Gail johann.g...@gmx.de wrote: As I said in a previous posting on this topic: mb Whenever a routable way gets split to limit the number of points or mb nodes it makes a new list of points so any changes to the points in the mb new

Re: [mkgmap-dev] [PATCH v2] Fix Nuvi routing regression (rebloat Table A)

2009-11-26 Thread Mark Burton
Hi Clinton, I (casually) tested this patch on a Nuvi 255w today: I did not notice any harm done to the routing at least. Since I don't have a standard set of tests, I can't report if the patch has made any improvements. Thanks for trying it. Unless any -ve reports appear in the next day or

Re: [mkgmap-dev] weird: file missing when # of files 10?

2009-11-26 Thread Mark Burton
Hi Valentijn, Now I'm stumped. Would anyone know what's going on here? I thought of a race condition and removed the --max-jobs option, but that makes no difference. I think you're right. It's a race between the stuff in CommandArgsReader that updates mapname and the map making code in

Re: [mkgmap-dev] DP Filter and areas at Resolution=24

2009-11-26 Thread Johann Gail
One idea for rounding at that level: Most annoying is that rectangles that are buildings aren't rectangles anymore after rounding. As the OSM data in itself probably isn't accurate at the 2 m level perhaps we could do tweak the coordinates so that rectangles stay rectangles (I know, the

Re: [mkgmap-dev] [Ghost road]

2009-11-26 Thread Mark Burton
Hi Stéphane Actually I'm working on a project for a little island. When I convert the .osm file in .img, I get a little road in the .img that doesn't appear on the .osm. I'm in trouble... Someone has an idea ? It might be a ghost road but we're not psychic, you need to tell us more. How

Re: [mkgmap-dev] [PATCH v1] make DP filter avoid removing points located at nodes

2009-11-26 Thread Felix Hartmann
Mark Burton wrote: Hi Johann, I have now looked into the code and must say, I don't understand why it works. Previous for each node was created a CoordNode. Now instead a flag is set. I see the difference: The flag is copied, the class obviously not. But I didn't find the place, where

Re: [mkgmap-dev] Style-file repository?

2009-11-26 Thread Greg Troxel
Marko Mäkelä marko.mak...@iki.fi writes: I think that the default style should still be maintained. There is some value in having sensible defaults. I do see value in other styles and hacks, such as distinguishing different types of paths by drawing multiple lines per way or repurposing

Re: [mkgmap-dev] Style-file repository?

2009-11-26 Thread maning sambale
I have made custom styles and typ for my OSM Philippine maps and would be happy to share them and learn from others as well. Some shots: http://epsg4253.wordpress.com/2009/09/12/new-osm-ph-garmin-map-release-sept-200909/

[mkgmap-dev] [PATCH v3] make DP filter avoid removing points located at nodes

2009-11-26 Thread Mark Burton
v3 - hopefully, now works again after being broken by the round coords filter. - v2 - based on r1402. --- Hi Felix, Please try the attached patch. I've tested it inasmuch that it doesn't blow up but whether it actually does the right thing when you have a routable and