Moving the conversation to the user list (we tend to keep geotools-devel for those working on the library).
The answer is it depends on what your source data can provide, some of the JDBC DataStores can provide Date, UUID and other types.
For Shapefile you best look at the source code to see what it supports … shapefile saves attributes into a DBF so DbaseFileHeader.java would be about right.
There is a getFieldClass method with javadocs describing what is available.
Jody
···
On Tue, Apr 2, 2013 at 8:10 AM, Adam Brin <Adam.Brin@anonymised.com> wrote:
I’m just starting with GeoTools, so apologies if this is obvious, but I’m trying to read and process a set of shapefiles and could use some help with PropertyTypes. Specifically, is there documentation somewhere (a simple google search did not uncover any) of what the various objects could be returned by a call to PropertyType.getBinding(). Thusfar, I’ve seen String, Double, Long, MultiLineString. The javadoc suggests (http://docs.geotools.org/latest/javadocs/org/opengis/feature/type/PropertyType.html) Integer is another, but is there a complete list?
Thanks,
adam
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel’s independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
GeoTools-Devel mailing list
GeoTools-Devel@anonymised.coms.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel