Hi,

I try to map 3 tables into 2 features.
I have these tables :

Object1Table (id int, name varchar, desc text, typeid int)
LinkedTable (id int, sample1 int, sample2 int, sample3 int)
Sample1Table (id int, name varchar, desc text)

Relations are
 - Object1Table.typeid -> LinkedTable.id 
 - LinkedTable.sample1 -> Sample1Table.id

I want to produce the following feature
<Object1>
  <name></name>
  <desc></desc>
  <Sample1>
    <name></name>
    <desc></desc>
  </Sample1>
</Object1>

I have defined the following mapping files :
 - One file to map Object1Table to "Object1" element
 - One file to map Sample1Table to "Sample1" element

But I cannot define mapping file for LinkedTable because I don't have any
element to map with.
So I cannot use "FEATURE_LINK" between "Object1" and "Sample1" mapping
files.

How can I do ?

Best regards,

Rudy

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/App-schema-plugin-Mapping-of-3-tables-into-2-features-join-table-tp4981222.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to