Different problem my suggestion was an alternative to having to repeat the row:
Park(fid:32,geom:Polygon, name:String, Lake(fid:21):SimpleFeature,
POI:SimpleFeature)
Park(fid:32, geom:Polygon, name:String, Lake(fid:22):SimpleFeature,
POI:SimpleFeature)
Or have a List:
Park(fid:32, geom:Polygon, name:String, l:List<SimpleFeature>,
POI:SimpleFeature)
--
Jody Garnett
On Wednesday, 22 June 2011 at 6:04 PM, Andrea Aime wrote:
> On Wed, Jun 22, 2011 at 9:46 AM, Jody Garnett <[email protected]
> (mailto:[email protected])> wrote:
> > First +1 looks great; and thanks for providing readable code examples (the
> > best way to sort out if the result will be readable).
> >
> > Have you considered using multiplicity to handle the issue of one or more
> > features being returned on a join? To steal from your example:
> >
> > Park(geom:Polygon, name:String, l:SimpleFeature, l:SimpleFeature,
> > POI:SimpleFeature)
> > I know that steps away from simple features.
>
> Isn't that already addressed by having multiple join statements with same
> feature type, but different alias?
> And no, you can't have two attributes with the same name (not even in SQL or
> WFS joins)
>
> Cheers
> Andrea
>
>
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel