Hi Ticker,

yes, this are the jar files I use, too. Except that I renamed them without version number. And yes, some are very old. I think there must be a very old discussion somewhere about this, the main problem is, that quite some newer code doesn't work with java 1.8.0 anymore, while the sources got lost for some jar files to rebuild them with newer java. Or something like this, don't remember the details anymore, I have normally nothing to do with java.

Thorsten

Am 2026-07-02 18:19, schrieb Ticker Berkin via mkgmap-dev:
Hi Thorsten

I'm now trying to use the contents of mkgmap lib/optional, but it has some very
old jar files:

 1933743 Dec 27  2010 ant-1.8.2.jar
  281694 May 26  2006 bsh-2.0b4.jar
   96221 Nov 13  2009 commons-pool-1.5.4.jar
  259959 Feb  4  2009 com.springsource.javax.media.jai.codec-1.1.3.jar
 1914524 Feb  4  2009 com.springsource.javax.media.jai.core-1.1.3.jar
  475284 May 16  2014 fastutil-6.5.15-mkg.1b.jar
  128252 Jun  1  2012 gt-api-2.7.5.jar
  172561 Jun  1  2012 gt-cql-2.7.5.jar
   50410 Jun  1  2012 gt-data-2.7.5.jar
 1378546 Jun  1  2012 gt-main-2.7.5.jar
  487655 Jun  1  2012 gt-metadata-2.7.5.jar
  327634 Jun  1  2012 gt-opengis-2.7.5.jar
 1067067 Jun  1  2012 gt-referencing-2.7.5.jar
  220079 Jun  1  2012 gt-shapefile-2.7.5.jar
 9709288 Apr  1  2014 icu4j-53.1.jar
   55585 Jul  5  2012 jcommander-1.27.jar
  153253 Aug  1  2005 jdom-1.0.jar
   91347 May 20  2010 jsr-275-1.0-beta-2.jar
  710293 Mar 16  2010 jts-1.11.jar
   16376 Feb  4  2009 license-1.1.3.txt
  132654 May 16  2014 osmpbf-1.3.3.jar
  533455 Mar  8  2013 protobuf-java-2.5.0.jar
  393045 Oct 25  2014 splitter-412.jar
  836479 Feb 22  2014 testng-6.8.8.jar
  249354 Aug 18  2009 vecmath-1.3.2.jar
 1203860 Nov 22  2005 xercesImpl-2.7.1.jar
  120069 Nov 28  2007 xpp3-1.1.4c.jar

Do these correspond in size/date/version to the ones you are using?

Running now:

$ java -ea -cp ../mkgmap/mkgmap.jar:
../svn/trunk/lib/optional/splitter-412.jar:
../svn/trunk/lib/optional/commons-pool-1.5.4.jar:
../svn/trunk/lib/optional/gt-api-2.7.5.jar:
../svn/trunk/lib/optional/gt-cql-2.7.5.jar:
../svn/trunk/lib/optional/gt-data-2.7.5.jar:
../svn/trunk/lib/optional/gt-main-2.7.5.jar:
../svn/trunk/lib/optional/gt-metadata-2.7.5.jar:
../svn/trunk/lib/optional/gt-opengis-2.7.5.jar:
../svn/trunk/lib/optional/gt-referencing-2.7.5.jar:
../svn/trunk/lib/optional/gt-shapefile-2.7.5.jar:
../svn/trunk/lib/optional/jsr-275-1.0-beta-2.jar:
../svn/trunk/lib/optional/jts-1.11.jar:
../svn/trunk/lib/optional/vecmath-1.3.2.jar
uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator land-polygons-complete-
4326/land_polygons.shp WGS84 sea-latest

I get:

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:711)
        at
java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:116)
        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:11
4)
        at
org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:86)
        at
uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.createShapefileAccess(Pre
compSeaGenerator.java:242)
        at
uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.runSeaGeneration(PrecompS
eaGenerator.java:260)
        at
uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator.main(PrecompSeaGenerator.
java:415)

I'll investigate a bit more tomorrow

Ticker

On Thu, 2026-07-02 at 16:38 +0200, Thorsten Kukuk wrote:
Am 2026-07-02 11:04, schrieb Thorsten Kukuk via mkgmap-dev:
> Hi Ticker,
>
> Am 2026-07-02 10:40, schrieb Ticker Berkin via mkgmap-dev:
> > Hi Thorsten
> >
> > I've downloaded land-polygons-complete-4326. Is it correct to use this
> > rather
> > than the split version?
>
> The split version works for me most of the time better than the split
> version, you need to try.

This should be of course: the split version works most of the time
better than the completed version,
which often triggers a heap overflow, too.

Today:
land-polygons-split-4326 -> works
land-polygons-complete-4326 -> crashes

Looks like they don't bump the version for new shapefiles...

Thorsten
_______________________________________________
mkgmap-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s
_______________________________________________
mkgmap-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s

Reply via email to