Hi Victor and again, thanks for your help.

It may clearify the issue if I write the output I want to get and the output
I am actually getting:

I have a table (transitStop) that references another table (provider)
through the provider_id field. I want to show data from every transitStop
including data from the provider pointed by the transitStop. What I want to
get is something similar to this:

<gml:featureMember>
        <cocities:TransitStop gml:id="oip_transit_stop.3">
                <cocities:code>3</cocities:code>
                <cocities:name>3</cocities:name>
                <cocities:long_name>Jackson & Menard</cocities:long_name>
                <cocities:bus_stop>
                        <gml:Point srsDimension="2" 
srsName="urn:x-ogc:def:crs:EPSG:4326">
                                <gml:pos>41.87695725 -87.76975039</gml:pos>
                        </gml:Point>
                </cocities:bus_stop>
                <cocities:provider> 
                        <cocities:providername>Ayuntamiento de 
Bilbao</cocities:providername>
                        <cocities:providerid>3</cocities:providerid>
                </cocities:provider> 
        </cocities:TransitStop>
</gml:featureMember>

And this is what I am getting:

<?xml version="1.0" encoding="UTF-8"?>
<gml:featureMember>
        <cocities:TransitStop gml:id="oip_transit_stop.3">
                <cocities:code>3</cocities:code>
                <cocities:name>3</cocities:name>
                <cocities:long_name>Jackson & Menard</cocities:long_name>
                <cocities:bus_stop>
                        <gml:Point srsDimension="2" 
srsName="urn:x-ogc:def:crs:EPSG:4326">
                                <gml:pos>41.87695725 -87.76975039</gml:pos>
                        </gml:Point>
                </cocities:bus_stop>
                <cocities:provider>
                        <cocities:name>Ayuntamiento de Bilbao</cocities:name>
                        <cocities:name>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.3>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.3, 
AttributeImpl:name
                                                <string>=TxDOT]
                        </cocities:name>
                        <cocities:name>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.8>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.8, 
AttributeImpl:name
                                                <string>=DTN Weather service]
                        </cocities:name>
                        <cocities:name>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.1>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.1, 
AttributeImpl:name
                                                <string>=ICM]
                        </cocities:name>
                        <cocities:providerid>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.2>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.2, 
AttributeImpl:name
                                                <string>=Ayuntamiento de Bilbao]
                        </cocities:providerid>
                        <cocities:providerid>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.3>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.3, 
AttributeImpl:name
                                                <string>=TxDOT]
                        </cocities:providerid>
                        <cocities:providerid>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.8>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.8, 
AttributeImpl:name
                                                <string>=DTN Weather service]
                        </cocities:providerid>
                        <cocities:providerid>
                                FeatureImpl:provider
                                <ProviderType id=oip_provider.1>
                                        =[AttributeImpl:providerid
                                        <string>
                                                =oip_provider.1, 
AttributeImpl:name
                                                <string>=ICM]
                        </cocities:providerid>
                </cocities:provider>
        </cocities:TransitStop>
</gml:featureMember>

It fetches all the providers in the first TransitStop

May be, it has something to do with the xsd file or the Featuremappings but
I find it imposible to find a solution.
Thank you very much





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/GEOServer-app-schema-Feature-Chaining-tp5010210p5010710.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to