And I think Jody meant the *GeoTools* users list.  :-)

On 02/04/13 10:22, Jody Garnett wrote:
> 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
> <https://github.com/geotools/geotools/blob/master/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/dbf/DbaseFileHeader.java>
> would be about right.
>
> There is a getFieldClass method with javadocs
> <http://docs.geotools.org/latest/javadocs/org/geotools/data/shapefile/dbf/DbaseFileHeader.html#getFieldClass(int)>
> describing what is available.
>
>
> Jody
>
>
> On Tue, Apr 2, 2013 at 8:10 AM, Adam Brin <[email protected]
> <mailto:[email protected]>> 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 <tel:480.965.1278>
>
>     
> ------------------------------------------------------------------------------
>     Own the Future-Intel&reg; 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
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Own the Future-Intel(R) 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://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to