Re: [Geotools-devel] spatial indexing adding to jdbc-h2

2010-01-27 Thread Justin Deoliveira
Great. The first thing will be to get your hands on the geotools source code: http://docs.codehaus.org/display/GEOT/2+Building Then if you look in the modules/plugin/jdbc/jdbc-h2 module you will see a class named H2DataStoreFactory. Look for the method "createDataSource(Map, SQLDialect)". That

Re: [Geotools-devel] spatial indexing adding to jdbc-h2

2010-01-26 Thread Justin Deoliveira
Hi Matías, Actually at the moment there is not the ability to do so. There is currently an open jira for this: http://jira.codehaus.org/browse/GEOT-2215 If you are a java coder a patch would be great. The section of the code that needs to be patched is well contained. I could point you in the

Re: [Geotools-devel] spatial indexing adding to jdbc-h2

2010-01-26 Thread mmassigoge
Justin, I'm working with jdbc-H2, I will try the spatial index. Meanwhile I'm trying the Geotools connection to H2 and it seems to connect in embedded way, It would be useful to do this in TCP way to avoid locking the entire database. What can I do? I'm missing something? Thanks! Matías -- Vi

[Geotools-devel] spatial indexing adding to jdbc-h2

2010-01-23 Thread Justin Deoliveira
Hi all, I just recently resolved: http://jira.codehaus.org/browse/GEOT-2879 Which adds spatial indexing support to the jdbc-h2 module via the hatbox rtree library: http://hatbox.sourceforge.net/news.html Which by the looks of it has been active as of late. Will have to upgrade soon. Also al