Hi there. Did you initialize the driver manager?
Example: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/GDALGrid.java#L521 Regards, Ivan > -------Original Message------- > From: ahmet temiz <[email protected]> > To: gdal-dev <[email protected]> > Subject: [gdal-dev] first time gdal-java exception > Sent: Jun 29 '10 13:14 > > hello > > when I tried gdal-java in first time, I got this exception: > > "Exception in thread "main" java.lang.UnsatisfiedLinkError: > org.gdal.ogr.ogrJNI.wkb25Bit_get()I" > > here is the code fragment that gives the exception: > > > Geometry lr1 = new Geometry(ogr.wkbLinearRing, null, null, null); > > lr1.AddPoint_2D(0, 0); > lr1.AddPoint_2D(10, 10); > lr1.AddPoint_2D(10, 0); > lr1.AddPoint_2D(0, 0); > > Geometry pol1 = new Geometry(ogr.wkbPolygon, null, null, null); > pol1.AddGeometry(lr1); > > might this exception have to do with my having generated gdal-java > from "rpm" for ubuntu? > > do you recommend me another way to get gdal-java for ubuntu ? > > regards > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
