[mkgmap-dev] boundary France broken?
From GerdP gpetermann_muenchen at hotmail.com on Sat Jan 25 14:01:14 GMT 2014
Hi Lambertus, I think the default build doesn't create the files that are needed. You have to build from source with a small change. You have to change line 240 in build.xml to look like this: <exclude name="**/dem/optional/*.java"/> Then run ant dist to compile. Gerd Lambertus wrote > On 25-01-14 13:18, Lambertus wrote: >> On 24-01-14 20:49, WanMil wrote: >>> Regarding the sea files: I can post a similar shell script within the >>> next days. But that's also not a big trick: >>> * Install mkgmap including the extra jar files (the ones in >>> lib/optional) >>> * Download the new data (land polygons) from openstreetmapdata.com >>> * Unzip the file >>> * java -cp mkgmap.jar: > <extra libs> > >>> uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator >>> land_polygons.shp WGS84 sea >>> * Zip the new directory sea containing the new sea files. >>> >> Working on the sea now. Is a version of mkgmap available for download >> including the optional libs or do I have to compile one myself? I >> really would prefer the former option... >> _______________________________________________ > Just to show that I don't understand how it's done and what is needed.... > :P > > I've downloaded Geotools 2.7.5 then call mkgmap (replacing > <path_...> > > with the actual path without the '<>'): > >> java -cp > <path_to_mkgmap_dir> > /mkgmap.jar: > <path_to_geotools_dir> > >> uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator >> > <path_to_shape_dir> > /land_polygons.shp WGS84 sea > > But then I get the error: > >> Error: Could not find or load main class >> uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator > > I'm using mkgmap-r2982 as downloaded from the snapshots page @ > mkgmap.org.uk > > Any hints are appreciated... > > This is the actual command in the script: >> java -cp ${MKGMAPDIR}/mkgmap.jar:${GEOTOOLSDIR} >> uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator >> land-polygons-complete-4326/land_polygons.shp WGS84 ${TODAY} > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at .org > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- View this message in context: http://gis.19327.n5.nabble.com/boundary-France-broken-tp5794112p5794317.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] boundary France broken?
- Next message: [mkgmap-dev] boundary France broken?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list