Wouter Heijke ha scritto:
> Hi,
> 
> I'm new to this list and geotools.
> So far i managed to read a shapefile 'xx.shp' which also has 'dbf','shx'
> and 'prj' versions and extract all geo data. Now what i need is to combine
> contents of the shapefile only how this is related is defined in 'yy.dbf'
> and there is only the dbf in this case. I'm wondering how to do this?
> So far reading the shapefile content went quite smooth using the geotools
> api but now i'm kind of stuck.
> Can someone explain me if i need to parse 'yy.dbf' myself or that it is
> done in another way.

The GeoTools shapefile datastore will load up SimpleFeature objects,
that do contain a geometry (called "the_geom") and all of the associated
attributes contained in the shapefile.
Does this answer your question?

Cheers
Andrea

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to