logo separator

[mkgmap-dev] PrecompSeaGenerator - which geotools version?

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Oct 23 15:47:07 BST 2018

Hi Thorsten,

 my command to execute:
java  -Xmx6800m -cp .\dist\mkgmap.jar;.\lib\optional\* uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator f:\osm\land-polygons-split-4326\land_polygons.shp  WGS84 c:\work\test

This works fine with java version "1.8.0_191"

I've also compiled with this version of the JDK. Maybe you use a different java version or a different command or input?
My shapes are dated 2018-08-27, so they are quite new.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk at suse.de>
Gesendet: Dienstag, 23. Oktober 2018 16:33
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] PrecompSeaGenerator - which geotools version?

On Tue, Oct 23, Gerd Petermann wrote:

> Hi Thorsten,
>
> do you execute with the libs downloaded with the build file?
> They are in lib/optional and should be quite old.

Yes, that's the one I used this time.
And that's why I wrote the initial first mail of this thread:
new versions bring other errors and I haven't found yet a
version which works.

  Thorsten

> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Thorsten Kukuk <kukuk at suse.de>
> Gesendet: Dienstag, 23. Oktober 2018 15:08
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: Re: [mkgmap-dev] PrecompSeaGenerator - which geotools version?
>
>
> Hi Gerd,
>
> On Sat, Oct 20, Gerd Petermann wrote:
>
> > Hi Thorsten,
> >
> > my steps to compile from scratch:
> > 1) svn checkout
> > 2) edit build.xml and remove the line
> > <exclude name="**/optional/*.java"/>
> > 3) execute ant resolve-optional dist
>
> This compiles, but gives me:
> Exception in thread "main" java.lang.IllegalArgumentException: org.geotools.data.DataStoreFactorySpi is not an ImageIO SPI class
>         at java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
>         at java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
>         at org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:154)
>         at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:90)
>         at org.geotools.data.DataStoreFinder.getServiceRegistry(DataStoreFinder.java:126)
>         at org.geotools.data.DataStoreFinder.getAvailableDataStores(DataStoreFinder.java:114)
>         at org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:86)
>         at uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.createShapefileAccess(PrecompSeaGenerator.java:241)
>         at uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.runSeaGeneration(PrecompSeaGenerator.java:259)
>         at uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.main(PrecompSeaGenerator.java:414)
>
>   Thorsten
>
> --
> Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
> SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
> GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

--
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list