Re: [JPP-Devel] More than one datasource by layer?

2007-11-05 Thread Eric Lemesre
Thank Paul, I try to do this. Eric 2007/11/5, Paul Austin <[EMAIL PROTECTED]>: > > You'll have to write your own plug-in to do this. It''ll have the > following steps > > >1. Create a FeatureSchema definition for all the columns >2. Create a java.util.Map with the key being the ID colum

Re: [JPP-Devel] More than one datasource by layer?

2007-11-05 Thread Paul Austin
You'll have to write your own plug-in to do this. It''ll have the following steps 1. Create a FeatureSchema definition for all the columns 2. Create a java.util.Map with the key being the ID column and the value being a Feature instance 3. Open your three data sources in turn and loop

Re: [JPP-Devel] More than one datasource by layer?

2007-11-05 Thread Eric Lemesre
I can create a view only if i have some right in the database. And it is not necessary the case. It is dangerous in verry big compagny. At this time i have only read rigth in some Database. Eric 2007/11/4, Paul Austin <[EMAIL PROTECTED]>: > > Layers are tied to a feature collection and all feat

Re: [JPP-Devel] More than one datasource by layer?

2007-11-05 Thread Eric Lemesre
Of course all feature in layer share the same shema. An exemple : * I have some polygone in shape file : GEOMETRY (MULTYPOILYGONE) ID (INTEGER) * I have in datasource (DS1) lot of generic attributes for this polygone like ID (INTEGER) POPULATION (DOUBLE) MENAGE (DOUBLE) * in an other dat

Re: [JPP-Devel] More than one datasource by layer?

2007-11-04 Thread Paul Austin
Layers are tied to a feature collection and all features must share the same schema. If you create custom Java code to load the date from each of those sources and populate the feature collection with that data then there is no reason why you couldn't do what you want. But there is nothing out

[JPP-Devel] More than one datasource by layer?

2007-11-03 Thread Eric Lemesre
Hi, It possible to have more than one datasource by layer? 1 for Geo datasource (a data source for the géometry) 1..n data source for attributes Exemple : * shapeFile for the geometry * a flat CSV file for some attribute * MysQL database for some other * PostgreSQL database for some others.