Andrea Aime wrote: > Mateusz Loskot ha scritto: >> Hi, >> >> I'm writing first time to this list, so let me say hello to all! > > Hey, pleasure to meet you again :)
Hi Andrea, Thanks :-) >> I'd like to ask if there is any support for Informix DataBlade in >> GeoTools or any plan to implement it. > > Not as far as I know. I see. I hoped there has been something done after I saw this ticket http://jira.codehaus.org/browse/GEOT-393 >> I'm looking for a solution to build a solution based on GeoServer and >> GeoTools to access feature data stored in Informix database. >> >> I'd be thankful if anyone could enlighten me about Informix support >> status in GeoTools and what's recommended solution in this matter. > > Well, I guess you can follow two different paths: > > * build a pure java module. This, properly coded, should give you > better speed and less cross platform headaches, but the datastore > API is in a state of flux at the moment so you may have to > adjust the results of your work later Sounds as the most reasonable approach. When the API freezing is expected? > * complete my abandoned OGR datastore (located in > module/unsupported/ogr) and leverage the OGR support > for Informix datablade in OGR to connect to the database. Yup, I've been considering it. One of the pros is that OGR supports Informix spatial features. However, cooking Java bindings for OGR is not very encouraging > You'll also have to pick up the right branch depending on which > version of GeoServer you have to use. If you plan to use the 1.6.x > series you'll have to work on the gt2 2.4.x branch (trunk is quite > a few months away from being released and quite a bit more unstable). Yes, I believe it will be GeoServer 1.6, so good to know. Thanks. > Given your experience with OGR I guess you'll lend for the second > option. I've thought so too, but as I said, I'm waverer about it. > Just a bit of warning. Using OGR in GeoServer is a whole > different story than using it in MapServer. In GeoServer the OGR > library will be loaded once and then used for days or months. > A single memory leak and you're doomed. A single segfault and > the whole virtual machine goes bye bye. You'll have to make > sure the code is picture perfect or you'll end up with a pretty > unstable GeoServer install. Understood. I'm wondering, is it common in the world of FOSS GIS solutions based on Java to use GDAL/OGR? If not, should I assume because of the problem you're emphasizing above? Andrea, thanks for very helpful notes. Best regards -- Mateusz Loskot http://mateusz.loskot.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
