Re: [mkgmap-dev] splitter memory usage

2011-10-30 Thread Scott Crosby
On Thu, Oct 27, 2011 at 4:56 AM, GerdP gpetermann_muenc...@hotmail.com wrote: Hello list, since a few days I try to understand the idea of the class SparseInt2ShortMapInline in splitter because this seems to waste memory although it is documented to save it. If I got this right, the amount of

Re: [mkgmap-dev] Osmosis --wb option

2011-05-06 Thread Scott Crosby
On Thu, May 5, 2011 at 8:54 AM, Francisco Moraes francisco.mor...@gmail.com wrote: Hi, I have tried to use the --wb option with Osmosis but it always fails for me. It seems to treat the file as input instead of output. The only way I can make it work is to use --write-pbf instead. Here's the

Re: [mkgmap-dev] Problems with latest splitter versions

2011-03-03 Thread Scott Crosby
On Wed, Mar 2, 2011 at 5:36 PM, Michael Prinzing mi...@gmx.net wrote: Hi, I am getting the splitter from svn, compiling and running it unter Windows XP SP3 using JDK 1.6.0_25. There are 2 problems if I am using a splitter version newer than r161 (tryed until r167 so far). 1.)

Re: [mkgmap-dev] [index] Automatic location completion

2011-03-01 Thread Scott Crosby
This boundary is open by the coast side, as many others (¿all?) in Spain. Something similar to the close-gaps in the sea generation could do the trick. That's not a nice job to do... We might continue the boundaries along coastlines. This would be a job for a specialized BoundaryRelation

Re: [mkgmap-dev] Splitter issue

2011-02-21 Thread Scott Crosby
On Sun, Feb 20, 2011 at 8:22 AM, Steve Ratcliffe st...@parabola.me.uk wrote: Hi OK, I think I have this one solved, or at least worked around.  The original code used a character array to buffer up output before I've looked at this and I think that the cause is the same as the other problem

Re: [mkgmap-dev] splitter and long way-segments

2011-02-12 Thread Scott Crosby
On Wed, Feb 9, 2011 at 5:15 AM, Henning Scholland o...@aighes.de wrote: Am 07.02.2011 23:45, schrieb Minko: Henning, Did you try a higher overlap setting? Maybe --overlap=6000 ? --overlap Nodes/ways/rels that fall outside an area will still be included if they are within this many map

Re: [mkgmap-dev] New splitter build for pbf format

2011-01-28 Thread Scott Crosby
On Fri, Jan 28, 2011 at 11:00 AM, WanMil wmgc...@web.de wrote: Hi Anyhow here are my wishes to the ongoing splitter development (don't know if this is a good place?): I'm not likely to have time for splitter development for a while. I'm putting my OSM work into implementing a new planet

Re: [mkgmap-dev] New splitter build for pbf format

2011-01-27 Thread Scott Crosby
On Thu, Jan 27, 2011 at 7:31 AM, Chris66 chris66...@gmx.de wrote: Am 27.01.2011 03:55, schrieb Scott Crosby: The problem is entirely with the pbf reader --- a 32-bit cleanness bug that was only exposed on Windows made the reader erroneously sense end-of-file. Hi Scott, is this a known java

Re: [mkgmap-dev] New splitter build for pbf format

2011-01-26 Thread Scott Crosby
On Wed, Jan 26, 2011 at 7:54 AM, Henning Scholland o...@aighes.de wrote: Am 26.01.2011 13:54, schrieb WanMil: Hi Steve, hi Scott, I tried the new splitter build but it's not working for me. I splitted the 4.6GB europe.osm.pbf using the default splitter arguments. The output was 64 osm.gz

Re: [mkgmap-dev] error splitting binary files

2010-12-24 Thread Scott Crosby
On Fri, Dec 24, 2010 at 3:40 PM, Henning Scholland h.scholl...@googlemail.com wrote: Yes, the file generated under windows was working well. 4GB problem can't be, because of using 64bit java and also in the past I processed files larger then 4 GB and the windows-generated pbf-file is also

[mkgmap-dev] Building the planet splitter from the crosby_integration branch

2010-12-04 Thread Scott Crosby
Just a quick note. This is the code for splitting the planet into thousands of areas in a single pass based on the mkgmap splitter. I mentioned this code on both osm-dev and mkgmap-dev. This branch supports PBF, runs much faster, threads better, doesn't have the 'node in too many areas' issue,

Re: [mkgmap-dev] actual splitter branch

2010-11-22 Thread Scott Crosby
On Wed, Nov 3, 2010 at 6:32 PM, Marko Mäkelä marko.mak...@iki.fi wrote: Hi Steve, On Sun, Oct 31, 2010 at 10:39:27PM +, Steve Ratcliffe wrote: I've built a complete splitter distribution from the pbf branch and put it at http://files.mkgmap.org.uk/download/6/splitter-r161.zip Thanks,

Re: [mkgmap-dev] Splitter question

2010-11-15 Thread Scott Crosby
On Mon, Nov 15, 2010 at 2:03 PM, Danny Backx danny.ba...@scarlet.be wrote: After a *lot* of messages like these : Node 986712679 in too many areas. Already in areas 0xd0a0706, trying to add area 0xe Node 986712679 in too many areas. Already in areas 0xd0a0706, trying to add area 0x11 Node

Re: [mkgmap-dev] Splitter question

2010-11-14 Thread Scott Crosby
Try increasing the resolution. The resolution controls the minimum tile size. Note that increasing the resolution by 1 quadruples the memory use of one of the internal arrays used to determine split points. I suggest using 13 or 14. Alternatively, you can split the geographic extent of the

Re: [mkgmap-dev] Missing ways part 1

2010-10-22 Thread Scott Crosby
On Mon, Oct 18, 2010 at 3:38 PM, Adrian ar2988...@yahoo.co.uk wrote: Marko wrote: If I remember previous discussions correctly, splitter does not split lines exactly at the tile border, but instead it includes all nodes that are not too much outside the tile. That is also what I

Re: [mkgmap-dev] Missing ways part 1

2010-10-22 Thread Scott Crosby
On Thu, Oct 21, 2010 at 5:30 PM, Adrian ar2988...@yahoo.co.uk wrote: I have investigated further and this is what I have found. - The output files from splitter contain the missing ways and they are complete; i.e. the way has all its tags and a complete list of its node ids. What is not

Re: [mkgmap-dev] User-defined PBF preprocessing in splitter?

2010-10-20 Thread Scott Crosby
On Wed, Oct 20, 2010 at 3:17 AM, Marko Mäkelä marko.mak...@iki.fi wrote: On Tue, Oct 19, 2010 at 04:22:18PM -0500, Scott Crosby wrote: There's a branch in the splitter repository that supports reading pbf files, along with significant improvements in scalability and performance, but it still

Re: [mkgmap-dev] Different routing results using osm vs osm.pbf

2010-10-19 Thread Scott Crosby
On Tue, Oct 19, 2010 at 3:06 PM, Steve Ratcliffe st...@parabola.me.ukwrote: On 19/10/10 15:58, Carlos Dávila wrote: Yesterday I tested pbf input for mkgmap for the first time. Map was built apparently without errors, but using the resulting map on MapSource I get a suboptimal route,

Re: [mkgmap-dev] Binary-Format

2010-09-23 Thread Scott Crosby
On Wed, Sep 22, 2010 at 12:37 PM, aighes h.scholl...@googlemail.com wrote: Hi, On Geofabrik I found the new pbf-files. They ar much smaller, so I would like to use them. Are there any ready-to-use files of osmosis, splitter and mkgmap which can use the binary format? For the splitter and

Re: [mkgmap-dev] Binary-Format

2010-09-22 Thread Scott Crosby
My advice is to wait a few weeks for new releases to come out. Scott On Wed, Sep 22, 2010 at 12:37 PM, aighes h.scholl...@googlemail.com wrote: Hi, On Geofabrik I found the new pbf-files. They ar much smaller, so I would like to use them. Are there any ready-to-use files of osmosis,

Re: [mkgmap-dev] Splitting the entire planet in one pass.

2010-09-21 Thread Scott Crosby
On Tue, Sep 21, 2010 at 3:05 PM, Jeffrey C. Ollie j...@ocjtech.us wrote: On Thu, Sep 16, 2010 at 4:59 PM, Scott Crosby scro...@cs.rice.edu wrote: Well, technically two passes; the first pass is needed to figure out where to split. I was excited to see this, however I'm having some

Re: [mkgmap-dev] Binary format update

2010-09-16 Thread Scott Crosby
On Thu, Sep 16, 2010 at 12:33 PM, WanMil wmgc...@web.de wrote: Hi Steve, that was a quick implementation! I haven't tried so far the new binary format. I haven't found a download for the osmprotobuf.jar. Is there any? Download links should be added to the documentation and the website if

Re: [mkgmap-dev] Binary format update

2010-09-16 Thread Scott Crosby
Ok, that means we cannot use the common planet dumps for this and a separate step (geographical sorting) is needed which maybe eats up the advantage to skip the tile splitter step. Just keep the idea in mind and give it a try when the geographical sorting is available. I designed the format

[mkgmap-dev] Splitting the entire planet in one pass.

2010-09-16 Thread Scott Crosby
Well, technically two passes; the first pass is needed to figure out where to split. A new set of patches and line of development in my tree. Features: About 1/3 of the RAM usage. An entire planet can be split into 1200 areas in one pass with -Xmx5000m --max-nodes=100 in one hour. No

Re: [mkgmap-dev] Binary OSM file support?

2010-09-13 Thread Scott Crosby
On Mon, Sep 13, 2010 at 6:06 AM, Steve Ratcliffe st...@parabola.me.uk wrote: Hi Scott I am adding support for your binary format to mkgmap itself (not the splitter). Excellent! Thank you. Now I've done enough refactoring of the XML reader to allow me to start I have a few questions. 1.

Re: [mkgmap-dev] Binary OSM file support?

2010-09-13 Thread Scott Crosby
On Mon, Sep 13, 2010 at 3:36 PM, Steve Ratcliffe st...@parabola.me.uk wrote: Its needed because mkgmap takes all kinds of input files and I don't want the user to have to say what the file format is, I just want mkgmap to work out the file format and use the correct reader. I do this by

Re: [mkgmap-dev] Binary OSM file support?

2010-09-12 Thread Scott Crosby
On Sun, Sep 12, 2010 at 6:39 AM, Clinton Gladstone clinton.gladst...@googlemail.com wrote: On Sep 9, 2010, at 19:55, Scott Crosby wrote: The format is stable, but I want to release one more RC, with a full validation before I declare it stable. I expect no incompatible changes

Re: [mkgmap-dev] Binary OSM file support?

2010-09-12 Thread Scott Crosby
My internal repository has several independent development threads. Only one of them is the binary format. The other development threads included patches that are already in and some have not been benchmarked/tested thoroughly. * The binary format. * Improved double writing for XML output. *

Re: [mkgmap-dev] Binary OSM file support?

2010-09-09 Thread Scott Crosby
On Wed, Sep 8, 2010 at 2:27 PM, Chris Miller chris_overs...@hotmail.com wrote: Hi Jeff, Scott Crosby posted a message to this list back in June asking for comment on his binary format. My thoughts at the time were that it looked rather promising and adding support for it to the splitter would

Re: [mkgmap-dev] splitter error message

2010-08-17 Thread Scott Crosby
On Tue, Aug 17, 2010 at 7:12 AM, Chris Miller chris_overs...@hotmail.com wrote: Hello Francois, It looks like this is a bug that was introduced by some patches I applied for Scott last night. I've rolled back the changes for now until I get a chance to debug the problem further. If you grab

Re: [mkgmap-dev] Getting rid of the 'Node in too many areas' warning.

2010-08-16 Thread Scott Crosby
Is there something wrong with this patch that kept it from going in? Scott On Thu, Jun 10, 2010 at 2:17 PM, Scott Crosby scrosb...@gmail.com wrote: This patch to the splitter makes this warning MUCH more rare. With this patch, I can split the entire planet into 17219 areas with max-nodes

Re: [mkgmap-dev] contour map error

2010-06-29 Thread Scott Crosby
What is the URL for the SRTM data and the command lines you're using to process it? Scott ___ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Increasing the performance of whole-planet splits.

2010-06-11 Thread Scott Crosby
On Fri, Jun 11, 2010 at 4:17 AM, Chris Miller chris_overs...@hotmail.comwrote: The limitation I see with a density map approach is that parts of the planet that have the highest node density would by definition contain the smallest split areas. This means the density map would need to be

Re: [mkgmap-dev] Increasing the performance of whole-planet splits.

2010-06-11 Thread Scott Crosby
On Fri, Jun 11, 2010 at 6:52 PM, Chris Miller chris_overs...@hotmail.comwrote: Hi Scott, This probably explains why no one from the mkgmap/splitter community noticed or commented on your original post on the osm-dev list - if they're anything like me they don't pay too much attention to

[mkgmap-dev] Increasing the performance of whole-planet splits.

2010-06-10 Thread Scott Crosby
and 550M nodes, that is over 5 trillion bounds-checks that are not run in parallel. An index that can can map a node to the regions that may contain it could avoid 99% of these checks. Scott From 3d3d7275b8c83ecda4e71a59023c4f11485388db Mon Sep 17 00:00:00 2001 From: Scott Crosby scro

[mkgmap-dev] Getting rid of the 'Node in too many areas' warning.

2010-06-10 Thread Scott Crosby
: Scott Crosby scro...@cs.rice.edu Date: Fri, 19 Mar 2010 10:56:34 -0500 Subject: [PATCH 7/8] Fix infinite recursion bugs when finding tiles with the density map. When running with a small node count limit, we hit various infinite recursions. This fixes those bugs when splitting all the way down

Re: [mkgmap-dev] Increasing the performance of whole-planet splits.

2010-06-10 Thread Scott Crosby
The reason for this was the costs of initializing were showing up in the profile. Do you mean the cost of initializing the Element instances? If so then yes, that's something that I'd caught previously in profiling too, hence why they were being reused and reset (prior to r109 that is :).