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

2010-09-21 Thread Jeffrey C. Ollie
On Tue, Sep 21, 2010 at 10:52 PM, Scott Crosby  wrote:
> On Tue, Sep 21, 2010 at 3:05 PM, Jeffrey C. Ollie  wrote:
>>
>> On Thu, Sep 16, 2010 at 4:59 PM, Scott Crosby  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 difficulty getting
>> your modified splitter code to compile.  It looks like something is
>> requiring a Sun-only API:
>
> That import is totally unused. Truly bizarre.  Just delete the line.
> But I think I know where it came from: When you use a class thats not
> imported, eclipse makes suggestions. The wrong click can leave behind the
> import of a random class.

Ah, that got me compiling.  I'll give it a try once osmosis is done
extracting the area I need from the planet.

-- 
Jeff Ollie
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

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  wrote:

> On Thu, Sep 16, 2010 at 4:59 PM, Scott Crosby  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 difficulty getting
> your modified splitter code to compile.  It looks like something is
> requiring a Sun-only API:
>
>
That import is totally unused. Truly bizarre.  Just delete the line.

But I think I know where it came from: When you use a class thats not
imported, eclipse makes suggestions. The wrong click can leave behind the
import of a random class.

Thanks,
Scott
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] problem with mkgmap r1699

2010-09-21 Thread WanMil
Torsten,

thanks for sending me your logfiles (apart the mailing list).
The "Grüngürtel" multipolygon of Cologne 
(http://www.openstreetmap.org/browse/relation/1152542) caused the 
Exception.

It is defined wrong.
The inner way http://www.openstreetmap.org/browse/way/30777954 lies 
inside the another inner way 
http://www.openstreetmap.org/browse/way/75211982. This is not allowed.
Usually mkgmap logs some warnings about this and does not throw an 
exception. This has been fixed with r1700 so the problem should not 
exist any more.

WanMil


> On Tue, Sep 21, 2010 at 07:01:21PM +0200, Torsten Leistikow wrote:
>> WanMil schrieb am 20.09.2010 20:37:
>>> But I am not sure in what situations the bug happens. Could you do me a
>>> favour and run mkgmap with the following log.properties file?
>>
>> Is this problem already solved with r1700?
>>
>> Otherwise I have to admit, that I do not know how to run mkgmap with a
>> log.properties file. So could you please explain me, how to use such a file.
>
> java -Dlog.config=log.properties ... -jar mkgmap.jar ...
>
>   Marko
> ___
> 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


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

2010-09-21 Thread Jeffrey C. Ollie
On Thu, Sep 16, 2010 at 4:59 PM, Scott Crosby  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 difficulty getting
your modified splitter code to compile.  It looks like something is
requiring a Sun-only API:

Buildfile: /home/jcollie/dev/osm/OSM-splitter/build.xml

prepare:

compile:
[javac] /home/jcollie/dev/osm/OSM-splitter/build.xml:76:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 56 source files to
/home/jcollie/dev/osm/OSM-splitter/build/classes
[javac]
/home/jcollie/dev/osm/OSM-splitter/src/uk/me/parabola/splitter/IntList.java:21:
package com.sun.xml.internal.bind.v2.runtime.unmarshaller.XsiNilLoader
does not exist
[javac] import
com.sun.xml.internal.bind.v2.runtime.unmarshaller.XsiNilLoader.Array;
[javac]
  ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/home/jcollie/dev/osm/OSM-splitter/build.xml:76: Compile failed;
see the compiler error output for details.

Total time: 2 seconds

I'm using OpenJDK on Fedora, I'd prefer not to have to switch to Sun
Java if I don't have to.

-- 
Jeff Ollie
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] problem with mkgmap r1699

2010-09-21 Thread Marko Mäkelä
On Tue, Sep 21, 2010 at 07:01:21PM +0200, Torsten Leistikow wrote:
>WanMil schrieb am 20.09.2010 20:37:
>> But I am not sure in what situations the bug happens. Could you do me a
>> favour and run mkgmap with the following log.properties file?
>
>Is this problem already solved with r1700?
>
>Otherwise I have to admit, that I do not know how to run mkgmap with a
>log.properties file. So could you please explain me, how to use such a file.

java -Dlog.config=log.properties ... -jar mkgmap.jar ...

Marko
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] problem with mkgmap r1699

2010-09-21 Thread Torsten Leistikow
WanMil schrieb am 20.09.2010 20:37:
> But I am not sure in what situations the bug happens. Could you do me a
> favour and run mkgmap with the following log.properties file?

Is this problem already solved with r1700?

Otherwise I have to admit, that I do not know how to run mkgmap with a
log.properties file. So could you please explain me, how to use such a file.

Gruss
Torsten
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev