Hi,

Suppose that I have two properties, `geo:siteContact` and
`geo:siteMetadataCustodian` that both contain the same type of object,
`gmd:CI_ResponsibleParty` so that properly encoded, they look like
```
<geo:siteContact
gml:id="AgencyProperty.f0a797fc-f295-4536-904f-98e904b52ba9">
   <gmd:CI_ResponsibleParty>
   </gmd:CI_ResponsibleParty>
</geo:siteContact>
<geo:siteMetadataCustodian
gml:id="AgencyProperty.143b1d79-c43d-42fe-9386-d17dcad931fd">
   <gmd:CI_ResponsibleParty>
   </gmd:CI_ResponsibleParty>
</geo:siteMetadataCustodian>
```
I want to use Application Schema feature chaining to map into these
properties but I can't figure out how to create two different mapping files
for the same `gmd:CI_ResponsibleParty` because I always get the error
```
Duplicate mappingName or targetElement across FeatureTypeMapping instances
detected. They have to be unique, or app-schema doesn't know which one to
get. Please check your mapping file(s) with mappingName or targetElement
of: urn:xml-gov-au:icsm:egeodesy:0.4:GnssReceiver
```
The key is that despite having the same targetElement (and therefore
linkElement in the root mapping file), different information (from a
different table in the database) is being mapped into these objects. How do
I solve this?


Best,

Gavin

-- 
Gavin Medley
Software Engineer, UNAVCO
6350 Nautilus Drive
Boulder, CO 80301-5394
Mobile: 505-819-1270 <(505)%20819-1270>
med...@unavco.org
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to