Hi Martin, > So i wanted to know should i use a Collection of simple Featrue types? Or > should i just use an array of point objects?
If you only want to store locations or perhaps location / ID, then an array or map of JTS Coordinates could be all you need. If you end up recording more information you might develop a Car class. You can always have a simple helper class to create SimpleFeatures from either if you need to export snapshots or timeseries to a shapefile etc. But, of course, I don't know anything about your app's purpose so take this with a grain of salt :-) Michael ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
