<div dir="ltr">gerd p <div><br></div><div>love the new splitter 417 </div><div><br></div><div>it works great , now it advises when the max node count is to small for splitting and recommend a higher node count </div><div><br></div><div>just tried this on the africa map split , </div><div>and told me node count should be like 600,000 gerd p </div><div><br></div><div>stephen </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 8, 2015 at 2:04 AM, GerdP <span dir="ltr"><<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I've committed r417 to fix a few rare problems in splitter:<br>
1) The initial problem reported by Stephen:<br>
splitter printed "Warning: No solution found for partition ..." but did not<br>
stop when at least one partition was ok.<br>
2) It tries a bit harder to find a solution when it turns out<br>
that no good solution is found.<br>
3) It prints a warning when the user choses a rather bad combination<br>
of --max-nodes and --resolution.<br>
<br>
I've also removed the code that optimized parts of a solution,<br>
it did not really work in most cases. I'll try to find a solution for that<br>
again<br>
later.<br>
<br>
Gerd<br>
<br>
<br>
GerdP wrote<br>
> Hi Steve,<br>
><br>
> I suggest to look at the rules in the default style and the style<br>
> manual:<br>
> <a href="http://www.mkgmap.org.uk/doc/pdf/style-manual.pdf" target="_blank">http://www.mkgmap.org.uk/doc/pdf/style-manual.pdf</a><br>
><br>
> I am not that familiar with style rules, and I prefer java coding.<br>
><br>
> Gerd<br>
><br>
> Date: Wed, 7 Jan 2015 17:15:59 +1000<br>
> From:<br>
<br>
> steve.sgalowski@<br>
<br>
> To:<br>
<br>
> mkgmap-dev@.org<br>
<br>
> Subject: Re: [mkgmap-dev] Problem in splitter (Africa)<br>
><br>
> gerd p would love more on the routing mate in my map but when i tried<br>
> before to upgrade the script file , it did not work may be i send the<br>
> script file i use , so you can help me convert it over to the new<br>
> scripting you do mate<br>
> or provide me with plenty of examples and i can try gerd<br>
> stephen<br>
><br>
> On Wed, Jan 7, 2015 at 5:11 PM, Gerd Petermann <<br>
<br>
> gpetermann_muenchen@<br>
<br>
> > wrote:<br>
><br>
><br>
><br>
> Hi Stephen,<br>
><br>
> okay, I forgot to ask you about other details:<br>
> 1) You use options like --process-exits and other used for routing, but<br>
> your<br>
> style doesn't set any of the access attributes like mkgmap:car,<br>
> mkgmap:foot etc<br>
> which are needed to get proper routing info in the map.<br>
> I guess you don't care about routing?<br>
><br>
> 2) Your cmd file contains the option --pois-to-areas-placement=tagelist<br>
> I think this is a very old typo which overrides a good default:<br>
> pois-to-areas-placement=entrance=main;entrance=yes;building=entrance<br>
><br>
> Please check the docu about the meaning:<br>
> <a href="http://www.mkgmap.org.uk/doc/options" target="_blank">http://www.mkgmap.org.uk/doc/options</a><br>
><br>
> Gerd<br>
><br>
> Date: Wed, 7 Jan 2015 16:57:41 +1000<br>
> From:<br>
<br>
> steve.sgalowski@<br>
<br>
> To:<br>
<br>
> mkgmap-dev@.org<br>
<br>
> Subject: Re: [mkgmap-dev] Problem in splitter (Africa)<br>
><br>
> gerd , have tried some of your ideas no not all worked for me however have<br>
> worked out and are combining my poi strings am re checking now with the<br>
> new poi test file you have just uploaded to mkgmap server<br>
> stephen<br>
><br>
> On Tue, Jan 6, 2015 at 7:54 PM, Gerd Petermann <<br>
<br>
> gpetermann_muenchen@<br>
<br>
> > wrote:<br>
><br>
><br>
><br>
> Hi Stephen,<br>
><br>
> yes, you should have received an answer a now.<br>
><br>
> Gerd<br>
><br>
> Date: Tue, 6 Jan 2015 19:15:51 +1000<br>
> From:<br>
<br>
> steve.sgalowski@<br>
<br>
> To:<br>
<br>
> mkgmap-dev@.org<br>
<br>
> Subject: Re: [mkgmap-dev] Problem in splitter (Africa)<br>
><br>
> gerd P<br>
> did you get my direct e-mail to you sir<br>
> stephen<br>
><br>
> On Tue, Jan 6, 2015 at 10:18 AM, GerdP <<br>
<br>
> gpetermann_muenchen@<br>
<br>
> > wrote:<br>
> Hi Stephen,<br>
><br>
><br>
><br>
> the log shows no problems. Why do you think that max-nodes=400000 doesn't<br>
><br>
> work?<br>
><br>
> Do you see an error message in mkgmap?<br>
><br>
> If yes, please provide your style files so that I can reproduce the<br>
> problem.<br>
><br>
> Maybe your style still adds one POI for each point of each highway?<br>
><br>
><br>
><br>
> Gerd<br>
><br>
><br>
><br>
><br>
><br>
> steve sgalowski wrote<br>
><br>
>> canada splitter log file<br>
><br>
>> as expected , looks like i was correct<br>
><br>
>> the size of the split has to be smaller<br>
><br>
>> stephen<br>
><br>
>><br>
><br>
>> On Tue, Jan 6, 2015 at 7:25 AM, Carlos Dávila <<br>
><br>
><br>
><br>
>> cdavilam@<br>
><br>
><br>
><br>
>> ><br>
><br>
>> wrote:<br>
><br>
>><br>
><br>
>>> Final file size depends on the amount of data in the input, not on the<br>
><br>
>>> value of max-nodes. If you need a final img smaller than a given size<br>
>>> you<br>
><br>
>>> have to reduce the area covered by the input file or reduce the number<br>
>>> of<br>
><br>
>>> osm elements from the input that go into the map playing with your style<br>
><br>
>>> files.<br>
><br>
>>><br>
><br>
>>> El 05/01/15 a las 22:07, Steve Sgalowski escribió:<br>
><br>
>>><br>
><br>
>>>> gerd and carlos<br>
><br>
>>>> i am now running the splitter log file setup on my canada map<br>
><br>
>>>> and see what it does , the end result on this map = 6.8 gb img file<br>
><br>
>>>> wonder why some country can exceed and others not<br>
><br>
>>>> stephen<br>
><br>
>>>><br>
><br>
>>>><br>
><br>
>>>> On Tue, Jan 6, 2015 at 7:00 AM, Carlos Dávila <<br>
><br>
><br>
><br>
>> cdavilam@<br>
><br>
><br>
><br>
>> >><br>
> <mailto:<br>
><br>
><br>
><br>
>><br>
> cdavilam@<br>
><br>
><br>
><br>
>> >> wrote:<br>
><br>
>>>><br>
><br>
>>>> Not sure what you mean. If you split a given country in a higher<br>
><br>
>>>> number of tiles (lower max-nodes) final size will be the same or<br>
><br>
>>>> slightly bigger, as there are more duplicated info due to overlap.<br>
><br>
>>>> Or you are loosing some information in the process to reduce final<br>
><br>
>>>> file size.<br>
><br>
>>>><br>
><br>
>>>> El 05/01/15 a las 21:34, Steve Sgalowski escribió:<br>
><br>
>>>><br>
><br>
>>>> in some of the countries i do , if i dont make the node count<br>
><br>
>>>> small , the map size exceedds , size limit of 3 gb<br>
><br>
>>>> then unshure how , canada has done this ok<br>
><br>
>>>><br>
><br>
>>>> stephen<br>
><br>
>>>><br>
><br>
>>>><br>
><br>
>>>> On Tue, Jan 6, 2015 at 5:24 AM, Gerd Petermann<br>
><br>
>>>> <<br>
><br>
><br>
><br>
>> gpetermann_muenchen@<br>
><br>
><br>
><br>
>> >><br>
> <mailto:<br>
><br>
><br>
><br>
>><br>
> gpetermann_muenchen@<br>
><br>
><br>
><br>
>> ><br>
><br>
>>>><br>
> <mailto:<br>
><br>
><br>
><br>
>><br>
> gpetermann_muenchen@<br>
><br>
><br>
><br>
>> >><br>
> <mailto:<br>
><br>
><br>
><br>
>><br>
> gpetermann_muenchen@<br>
><br>
><br>
><br>
>> >>> wrote:<br>
><br>
>>>><br>
><br>
>>>> Hi all,<br>
><br>
>>>><br>
><br>
>>>> I wonder what splitter should do in this case:<br>
><br>
>>>><br>
><br>
>>>> Stephen uses paramter --max-nodes=80000<br>
><br>
>>>> and splitter reports<br>
><br>
>>>> "Highest node count in a single grid element is 557,084"<br>
><br>
>>>><br>
><br>
>>>> It is obvious that at least one tile will have much more<br>
><br>
>>>> than the<br>
><br>
>>>> requested 80.000 nodes,<br>
><br>
>>>> on the other hand, the file africa.osm.pbf contains large<br>
><br>
>>>> nearly<br>
><br>
>>>> empty areas,<br>
><br>
>>>> and that makes it very difficult to find a good split.<br>
><br>
>>>> The current version r416 fails because it doesn't accept<br>
><br>
>>>> tiles<br>
><br>
>>>> with less than 5% of<br>
><br>
>>>> the max-nodes value, so it searches for a solution where<br>
><br>
>>>> every<br>
><br>
>>>> tile has at least 4000 nodes,<br>
><br>
>>>> and that might not exist.<br>
><br>
>>>><br>
><br>
>>>> I see these options:<br>
><br>
>>>> 1) splitter can continue trying to split the data,<br>
>>>> accepting<br>
><br>
>>>> almost empty output files<br>
><br>
>>>> (e.g. some with < 5 nodes and very high aspect ratios like<br>
><br>
>>>> 32)<br>
><br>
>>>> 2) if that fails, splitter can set the max-nodes value to<br>
><br>
>>>> 557,084<br>
><br>
>>>> and try again<br>
><br>
>>>> 3) or stop with an error message that tells the user that<br>
><br>
>>>> it is<br>
><br>
>>>> not possible<br>
><br>
>>>> to split with the used resolution<br>
><br>
>>>> 4) or restart using a higher resolution (15 would be<br>
><br>
>>>> required<br>
><br>
>>>> here instead of 13),<br>
><br>
>>>><br>
><br>
>>>> @Stephen<br>
><br>
>>>> What reason do you have to use such a small max-nodes<br>
>>>> value?<br>
><br>
>>>> Would it be ok for you to use a higher one?<br>
><br>
>>>><br>
><br>
>>>> Gerd<br>
><br>
>>>><br>
><br>
>>>><br>
><br>
>>> _______________________________________________<br>
><br>
>>> mkgmap-dev mailing list<br>
><br>
>>><br>
><br>
><br>
><br>
>> mkgmap-dev@.org<br>
><br>
><br>
><br>
>>> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
>>><br>
><br>
>><br>
><br>
>> _______________________________________________<br>
><br>
>> mkgmap-dev mailing list<br>
><br>
><br>
><br>
>> mkgmap-dev@.org<br>
><br>
><br>
><br>
>> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
>><br>
><br>
>> splitter.log (356K)<br>
><br>
>> <<a href="http://gis.19327.n5.nabble.com/attachment/5829156/0/splitter.log" target="_blank">http://gis.19327.n5.nabble.com/attachment/5829156/0/splitter.log</a>><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> View this message in context:<br>
> <a href="http://gis.19327.n5.nabble.com/Problem-in-splitter-Africa-tp5829130p5829158.html" target="_blank">http://gis.19327.n5.nabble.com/Problem-in-splitter-Africa-tp5829130p5829158.html</a><br>
><br>
> Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
><br>
> _______________________________________________<br>
><br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
> _______________________________________________<br>
><br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
> _______________________________________________<br>
><br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
<br>
> mkgmap-dev@.org<br>
<br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gis.19327.n5.nabble.com/Problem-in-splitter-Africa-tp5829130p5829354.html" target="_blank">http://gis.19327.n5.nabble.com/Problem-in-splitter-Africa-tp5829130p5829354.html</a><br>
Sent from the Mkgmap Development mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div><br></div>