Hi Brent,
sorry for the late reply, I missed this somehow.
I am using spatialite via java all the time. The biggest problem is
having it compiled properly on your system.
Once you have that in your library path, it is quite straightforward.
The Hortonmachine project has a section dedicated to it. Have a look
at this module:
https://github.com/TheHortonMachine/hortonmachine/tree/master/dbs
It contains a SpatialiteDb class that does all the necessary.
But I would suggest to first see if the spatialite native installation
is properly picked. To do so you could download a working version of
the Hortonmachine with the applications:
https://github.com/TheHortonMachine/hortonmachine/releases/tag/hortonmachine-0.9.5
In there there is a script hm-dbviewer.sh that runs a simple db
viewer. If yourt libs are in the path and working, then you should be
able to open a spatialite db. If that works, you can just take the
code from the dbs module to get it done.
Hope that helps,
Cheers,
Andrea
> --
> You received this message because you are subscribed to the Google Groups "SpatiaLite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
spatialite-use...@googlegroups.com.
> To post to this group, send email to
spatiali...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/spatialite-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/spatialite-users/d35f8220-4a4f-4a50-9e28-9c7da42c61df%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.