logo separator

Build mkgmap/mkgmap #502.1

Commit: 4145 by gerd
Branch: overlaps
Time: 3 Apr 2018, 7:46 a.m.
Passed
This test: 1 min 27 sec
Total time: 2 min 11 sec

add code to detect and - maybe - remove overlapping way segments of routable lines. A segment is a part of an OSM way build by pair of nodes. The sequence of nodes only matters with oneways. Done: - find overlapping segments in routable lines where two or more different OSM ways share the same segment - split those ways into segments - find overlapping segments with similar attributes (based on code in RoadMerger) and remove one if possible - recombine the segments - remove those routable lines which are no longer complete and replace them by copies with the newly combined segmnts This happens after the treatment of unconnected roads and before the WrongAngleFixer starts. TODO: - add code to handle route restrictions - add code to handle ways with different labels - add code to allow more differences, e.g. when one way allows all vehicles and the other doesn't allow bikes.

Start build of mkgmap/mkgmap-4145 for BuildEnv: java=jdk8, python=default {}

Checkout mkgmap/mkgmap branch overlaps revision 4145

Starting script "build"

$ java -version

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_MVJBUh

java version "1.8.0_51"

Java(TM) SE Runtime Environment (build 1.8.0_51-b16)

Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

$ ant -version

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_MVJBUh

Apache Ant(TM) version 1.9.6 compiled on June 29 2015

$ echo "svn.version: 4145" > resources/mkgmap-version.properties

$ echo "build.timestamp: $(date -Iseconds)" >> resources/mkgmap-version.properties

$ exit

exit

cd . for archives

tar . to /home/builder/build/root_MVJBUh/dist/mkgmap-overlaps-r4145-src.tar.gz

cd . for archives

zip . to /home/builder/build/root_MVJBUh/dist/mkgmap-overlaps-r4145-src.zip

$ ant -Dhave.version=1 dist

Picked up _JAVA_OPTIONS: -Duser.home=/home/builder/build/root_MVJBUh

Buildfile: /home/builder/build/root_MVJBUh/src/build.xml

prepare:

[mkdir] Created dir: /home/builder/build/root_MVJBUh/src/build/classes

[mkdir] Created dir: /home/builder/build/root_MVJBUh/src/lib/optional

ivy-availability:

download-ivy:

[mkdir] Created dir: /home/builder/build/root_MVJBUh/src/lib/build

[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar

[get] To: /home/builder/build/root_MVJBUh/src/lib/build/ivy-2.2.0.jar

init-ivy:

[ivy:configure] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::

[ivy:configure] :: loading settings :: file = /home/builder/build/root_MVJBUh/src/ivysettings.xml

resolve-compile:

[ivy:retrieve] downloading http://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar ...

[ivy:retrieve] .............................................. (520kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] com.google.protobuf#protobuf-java;2.5.0!protobuf-java.jar(bundle) (140ms)

[ivy:retrieve] downloading http://ivy.mkgmap.org.uk/repo/crosby/osmpbf/1.3.3/jars/osmpbf.jar ...

[ivy:retrieve] .... (129kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] crosby#osmpbf;1.3.3!osmpbf.jar (128ms)

[ivy:retrieve] downloading http://ivy.mkgmap.org.uk/repo/it.unimi.dsi/fastutil/6.5.15-mkg.1b/jars/fastutil.jar ...

[ivy:retrieve] ......... (464kB)

[ivy:retrieve] .. (0kB)

[ivy:retrieve] [SUCCESSFUL ] it.unimi.dsi#fastutil;6.5.15-mkg.1b!fastutil.jar (63ms)

compile:

[javac] Compiling 505 source files to /home/builder/build/root_MVJBUh/src/build/classes

build:

[copy] Copying 455 files to /home/builder/build/root_MVJBUh/src/build/classes

svn-version:

git-version:

check-version:

version-file:

dist:

[mkdir] Created dir: /home/builder/build/root_MVJBUh/src/dist

[mkdir] Created dir: /home/builder/build/root_MVJBUh/src/dist/lib

[copy] Copying 3 files to /home/builder/build/root_MVJBUh/src/dist/lib

[jar] Building jar: /home/builder/build/root_MVJBUh/src/dist/mkgmap.jar

[copy] Copying 2 files to /home/builder/build/root_MVJBUh/src/dist/doc

[copy] Copying 2 files to /home/builder/build/root_MVJBUh/src/dist

[mkdir] Created dir: /home/builder/build/root_MVJBUh/src/dist/examples

[copy] Copying 31 files to /home/builder/build/root_MVJBUh/src/dist/examples

BUILD SUCCESSFUL

Total time: 32 seconds

$ exit

exit

$ pip install mwtext mkgmap-pygments pygments-xslfo-formatter

Collecting mwtext

Downloading http://wheel.itinken.com/centos7/mwtext-1.6.1-py2-none-any.whl

Collecting mkgmap-pygments

Downloading mkgmap_pygments-1.5-py2-none-any.whl

Collecting pygments-xslfo-formatter

Downloading pygments-xslfo-formatter-1.1.2.tar.gz

Collecting pygments (from mwtext)

Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)

100% |████████████████████████████████| 849kB 663kB/s

Collecting six (from mwtext)

Downloading six-1.11.0-py2.py3-none-any.whl

Installing collected packages: pygments, six, mwtext, mkgmap-pygments, pygments-xslfo-formatter

Running setup.py install for pygments-xslfo-formatter ... - done

Successfully installed mkgmap-pygments-1.5 mwtext-1.6.1 pygments-2.2.0 pygments-xslfo-formatter-1.1.2 six-1.11.0

$ scripts/download/mkdoc mkgmap

make -C styles install

make[1]: Entering directory `/home/builder/build/root_MVJBUh/src/doc/styles'

a2x -L --xsl-file=../resources/docbook-xsl/fo.xsl --fop --icons --icons-dir=../resources/common-images/icons -a pubdate="$(date +'%d %B %Y')" --asciidoc-opts='--conf-file=../resources/asciidoc/local-docbook45.conf' style-manual.txt

cp -u style-manual.pdf ../../dist/doc

make[1]: Leaving directory `/home/builder/build/root_MVJBUh/src/doc/styles'

$ exit

exit

cd . for archives

copy dist/mkgmap.jar to /home/builder/build/root_MVJBUh/dist/mkgmap-overlaps-r4145.jar

cd . for archives

tar dist to /home/builder/build/root_MVJBUh/dist/mkgmap-overlaps-r4145.tar.gz

zip dist to /home/builder/build/root_MVJBUh/dist/mkgmap-overlaps-r4145.zip

Script ended without errors.

End build of mkgmap/mkgmap-4145 for environment BuildEnv: java=jdk8, python=default {}

Latest commits

  • splitter-r654 - add note that splitter doesn't handle holes in *.poly files.
    05 apr 2024
  • mkgmap-r4919 Avoid possible integer overflow in blocksize calculation when gmapsupp contains large number of tiles.
    04 apr 2024
  • mkgmap-r4918 add surface=chipseal to group of surfaces which means paved.
    06 mar 2024
  • mkgmap-r4917 fix typos in documentation: $LONG_DATE$ -> $LONGDATE$, $SHORT_DATE$ -> $SHORTDATE$.
    18 feb 2024
  • mkgmap-r4916 sortResource_v3.patch (with updated date in comment) by Ticker Berkin.
    13 oct 2023
See more...