Hi, I may be difficult to decide which of the many ogr2ogr options will be supported by user interface. Perhaps there could be an empty slot called "og2oogr parameters" which just passes on everything just as user has written. Some formats that ogr2ogr supports may have mixed geometries, 3D data or several layers and making use of them simple may also be a bit tricky. Conversion to gml and reading that instead of shapefiles would be better choise sometimes, but OJ needs those templates. And writing OpenJUMP driver directly into ogr2ogr would need C++ programmer, I fear. Anyway, your plan will be a good start and it will also offer one way to write data to Oracle and PostGIS.
-Jukka- -----Alkuperäinen viesti----- Lähettäjä: Larry Becker [mailto:[email protected]] Lähetetty: pe 20.2.2009 22:13 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] Increased GDAL Java activity >Perhaps this could be done by simply making OS external >process calls, rather than in-process bindings to the library? That is actually the path I'm investigating now. The import utility would just script ogr2ogr to put the results as shapefiles in a temp folder. Larry On Fri, Feb 20, 2009 at 2:08 PM, Martin Davis <[email protected]>wrote: > Yep, I'd agree. And for something so core to the application, I think > it's really important to preserve the 100% Java aspect, with all the > benefits of platform-independence that it brings. > > Plus all that JNI hacking - brrrrrr! > > Format transformation is less core to the architecture, so it doesn't > seem unreasonable to look to GDAL to provide formats which are > required. Perhaps this could be done by simply making OS external > process calls, rather than in-process bindings to the library? > > Sunburned Surveyor wrote: > > Larry, > > > > I don't know much about GDAL, but I'm thinking it will be a lot easier > > to add deegree or GeoTidy/GeoTools CRS support to OJ. > > > > SS > > > > On Thu, Feb 19, 2009 at 9:05 AM, Larry Becker <[email protected]> > wrote: > > > >> This post is continuing the debate/discussion about adding OJ projection > >> support, and other interesting things that GDAL provides. > >> > >> I've noticed that Even Rouault has been giving the GDAL Java bindings > quite > >> a workout lately. > >> > >> http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/ > >> > >> Does this development indicate that it may no longer be quite so > difficult > >> to add GDAL support to JUMP? > >> > >> regards, > >> Larry > >> -- > >> http://amusingprogrammer.blogspot.com/ > >> > >> > ------------------------------------------------------------------------------ > >> Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA > >> -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > >> -Strategies to boost innovation and cut costs with open source > participation > >> -Receive a $600 discount off the registration fee with the source code: > SFAD > >> http://p.sf.net/sfu/XcvMzF8H > >> _______________________________________________ > >> Jump-pilot-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> > >> > >> > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > Jump-pilot-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -- > Martin Davis > Senior Technical Architect > Refractions Research, Inc. > (250) 383-3022 > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Jump-pilot-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- http://amusingprogrammer.blogspot.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
