logo separator

[mkgmap-dev] Changed build.xml for DEM generation

From maning sambale emmanuel.sambale at gmail.com on Sat Aug 15 06:54:01 BST 2009

I installed jai:
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.31 of 31 May 1997, by Info-ZIP (Zip-Bugs at lists.wku.edu).
  inflating: COPYRIGHT-jai.txt
  inflating: DISTRIBUTIONREADME-jai.txt
  inflating: LICENSE-jai.txt
  inflating: THIRDPARTYLICENSEREADME-jai.txt
  inflating: UNINSTALL-jai
  inflating: lib/i386/libmlib_jai.so
  inflating: lib/ext/jai_core.jar
  inflating: lib/ext/jai_codec.jar
  inflating: lib/ext/mlibwrapper_jai.jar
Done.
maning at cumingi:/usr/lib/jvm/java-6-sun/jre$

And then used this build.xml for mkgmap:

maning at cumingi:~/osm/routable_garmin/mkgmap/trunk$ ant dist
Buildfile: build.xml

prepare:

compile:
    [javac] Compiling 1 source file to
/home/maning/osm/routable_garmin/mkgmap/trunk/build/classes
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:28:
package com.sun.media.jai.codec does not exist
    [javac] import com.sun.media.jai.codec.*;
    [javac] ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:29:
package javax.media.jai does not exist
    [javac] import javax.media.jai.*;
    [javac] ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:36:
cannot find symbol
    [javac] symbol  : class PlanarImage
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac]     PlanarImage image;
    [javac]     ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:42:
cannot find symbol
    [javac] symbol  : class SeekableStream
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac] 	    SeekableStream s = new FileSeekableStream(fileName);
    [javac] 	    ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:42:
cannot find symbol
    [javac] symbol  : class FileSeekableStream
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac] 	    SeekableStream s = new FileSeekableStream(fileName);
    [javac] 	                           ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:46:
cannot find symbol
    [javac] symbol  : class TIFFDecodeParam
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac] 	    TIFFDecodeParam param = new TIFFDecodeParam();
    [javac] 	    ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:46:
cannot find symbol
    [javac] symbol  : class TIFFDecodeParam
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac] 	    TIFFDecodeParam param = new TIFFDecodeParam();
    [javac] 	                                ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:49:
cannot find symbol
    [javac] symbol  : class RenderedOp
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac] 	    RenderedOp op = JAI.create("tiff", pb);
    [javac] 	    ^
    [javac] /home/maning/osm/routable_garmin/mkgmap/trunk/src/uk/me/parabola/mkgmap/reader/dem/optional/GeoTiffDEM.java:49:
cannot find symbol
    [javac] symbol  : variable JAI
    [javac] location: class uk.me.parabola.mkgmap.reader.dem.optional.GeoTiffDEM
    [javac] 	    RenderedOp op = JAI.create("tiff", pb);
    [javac] 	                    ^
    [javac] 9 errors

BUILD FAILED
/home/maning/osm/routable_garmin/mkgmap/trunk/build.xml:74: Compile
failed; see the compiler error output for details.

Total time: 4 seconds

Any ideas?

On Wed, Aug 12, 2009 at 6:50 AM, <jspanke at web.de> wrote:
> Hi,
> I'm using Linux and was searching for a way to create contour lines. Therefore I was amazed that Christian Gawron just added the functionality to mkgmap in svn.
> But then I realized, that it was disabled again. Therefore I would like to propose the changes to the build.xml file and the external.properties (see attached files). This would enable the GeoTIFF class build if JAI is available.
>
> By the way I'm still trying to understand the DEM functionality. Can anyone add some more information to the Wiki, e.g.
> - where to download the needed files,
> - how to set the required bounding box,
> - an example of the content of the directory set by --dem-path
> - etc.
>
> Sorry about the questions, but I'm really curious about this functionality.
>
> Regards,
> Jörg
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the mkgmap-dev mailing list