From: Jody G. <jod...@gm...> - 2011-04-26 08:28:52
|
I don't think one has been provided; check the test cases. http://docs.geotools.org/latest/userguide/library/jdbc/spatiallite.html <http://docs.geotools.org/latest/userguide/library/jdbc/spatiallite.html>I do note that that page indicates you need to provide some libraries; making sure those libraries are available to the java executable is a bit of a pain. If you can report back with the steps required, I would be happy to add to the user guide. Jody On Tue, Apr 26, 2011 at 5:08 PM, LSA <ls...@ng...> wrote: > Hi All! > > Is there any samples about how to connect to spatialite gis store? > > I tried > Map params = new HashMap(); > params.put("dbtype", "spatialite"); > params.put("database", fileURL); > > DataStore dstore = DataStoreFinder.getDataStore(params); > > but dstore is null. > > I am using geotools 2.6.3. > > Thanks, > Sergey > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |