G'day

can I just create my ShpFiles object and create my ShapefileReader
> and DbfFileReader directly?


Yes; if you return to your earlier idea of splitting out the format support
from the feature model you would be looking at modifying these "readers" to
accept factories to construct the specific implementation you want to work
with.

>
> Question 2:
> What type of Object is returned by the ShapefileReader.Record.Shape
> method? Is it a JTS Geometry or something else? What is the quickest
> way to get this object converted to a JTS Geometry?


It is a JTS Geometry; while we created an GeoAPI GeometryFactory we did not
intergrate it with the format support. The idea would be to define a more
general GeometryFactory API; and make two implementations (one for JTS and
one for GeoAPI Geometry).

>
> Thanks for the help.


Cheers,
Jody
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to