Hi Jukka,
Just fix H2Driver in r4646 (only H2Server worked before that)
Here is a small step-by-step guide for an embeded database :
- download H2GIS distribution from http://www.h2gis.org/
- start h2gis (with h2gis.bat if you work with windows)
- you get a web app to manage your databases, either embeded or in
server mode.
- to create an embeded database, type a url with the name of a database
file (which does not exist yet)
To spatialize the database, follow http://www.h2gis.org/docs/dev/quickstart/
CREATEALIASIFNOTEXISTSSPATIAL_INITFOR"org.h2gis.h2spatialext.CreateSpatialExtension.initSpatialExtension";CALLSPATIAL_INIT();
To load a shapefile, follow the instrusction on the same page
e.g.
CALL FILE_TABLE('D:/DATA/Shapefile/WaukeeStreets.shp', 'WaukeeStreets');
You have a spatialized database.
In OpenJUMP : copy jar files from h2gis distribution into
lib\ext\dbdatastore
(I don't know what is the exact minimum set of jar needed to make it work)
In OpenJUMP, create your connection
With H2 server, the connection pannel should be like postgis one
Michaël
Le 20/12/2015 11:42, Rahkonen Jukka (MML) a écrit :
Hi,
I would like to test H2GIS a bit. Can you recommend some easy way for
installing and getting some sample data?
-Jukka Rahkonen-
Michaël Michaud wrote:
Hi,
Thanks to your big refactoring of spatialdatabase code, I could easily add
support to H2GIS database, a pure java dabase with spatial extension.
It seems that the driver detection mechanism does not prevent the connection
dialog to display drivers in the combobox which are not available. Or did I
miss something ?
Michaël
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel