I'm in the midst of creating new Shapefile import/export functionality
for BizzJUMP based on the latest Geotools library. The original code
JUMP used to import/export Shapefiles was also from Geotools, but it
was a lot older. There is some other parts of the JUMP shapefile code
that is starting to show its age, like its use of some of the JTS API
that is now depracated.

I've had to do some hair pulling with the Geotools code (those guys
make everything so complicated) but I've almost got a class finished
that will read JUMP feature objects directly from Shapefiles. I'm
going to wrap this in the DataSource/Connection code, so the
ShapefileReader and ShapefileWriter classes can finally be removed.

After I've got a plug-in that will import/export Shapefiles for
OpenJUMP, I am going to work on some improvements to the Geotools
Shapefile code. This will include support for more DBF field types,
which will make the code a little more robust. My ultimate goal is to
help Geotools maintain the shapefile code in conjunction with the
OpenJUMP community. I will be trying to see if any of our Shapefile
code patches need to be applied to the Geotools code.

If I can get this all to work (that is a big IF), I would like to push
the new Shapefile code back down to OpenJUMP. This won't likely be for
a couple of months yet, as I work pretty slow on stuff.

Here is what the changes will mean for BizzJUMP users, and could mean
for OpenJUMP users:

- Full support for boolean attribute values.
- More accurate reading of numeric values from DBF files. (Currently,
some of these values may be imported as Strings.)
- The ability to upgrade to newer versions of the JTS library.
- Possibly the support for M and Z values.

This work is being done as part of my overhaul of the file menu/data
import in BizzJUMP:
http://openjump.blogspot.com/

The Sunburned Surveyor

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to