123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <?xml version="1.0" encoding="UTF-8"?>
- <as:AppSchemaDataAccess xmlns:as="http://www.geotools.org/app-schema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geotools.org/app-schema AppSchemaDataAccess.xsd">
- <namespaces>
- <Namespace>
- <prefix>gml</prefix>
- <uri>http://www.opengis.net/gml</uri>
- </Namespace>
- <Namespace>
- <prefix>gsml</prefix>
- <uri>urn:cgi:xmlns:CGI:GeoSciML:2.0</uri>
- </Namespace>
- </namespaces>
- <sourceDataStores>
- <DataStore>
- <id>datastore</id>
- <parameters>
- <Parameter>
- <name>directory</name>
- <value>file:./</value>
- </Parameter>
- </parameters>
- </DataStore>
- </sourceDataStores>
- <targetTypes>
- <FeatureType>
- <schemaUri>http://www.geosciml.org/geosciml/2.0/xsd/geosciml.xsd</schemaUri>
- </FeatureType>
- </targetTypes>
- <typeMappings>
- <FeatureTypeMapping>
- <sourceDataStore>datastore</sourceDataStore>
- <sourceType>gsml_GeologicUnit</sourceType>
- <targetElement>gsml:GeologicUnit</targetElement>
- <attributeMappings>
- <AttributeMapping>
- <targetAttribute>
- gsml:GeologicUnit
- </targetAttribute>
- <idExpression>
- <OCQL>ID</OCQL>
- </idExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>
- gml:description
- </targetAttribute>
- <sourceExpression>
- <OCQL>DESCRIPTION</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>
- gml:name[1]
- </targetAttribute>
- <sourceExpression>
- <OCQL>NAME</OCQL>
- </sourceExpression>
- <ClientProperty>
- <name>codeSpace</name>
- <value>'urn:x-test:classifierScheme:TestAuthority:GeologicUnitName'</value>
- </ClientProperty>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>
- gml:name[2]
- </targetAttribute>
- <sourceExpression>
- <OCQL>CODE</OCQL>
- </sourceExpression>
- <ClientProperty>
- <name>codeSpace</name>
- <value>'urn:x-test:classifierScheme:TestAuthority:GeologicUnitCode'</value>
- </ClientProperty>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>
- gml:name[3]
- </targetAttribute>
- <sourceExpression>
- <OCQL>URN</OCQL>
- </sourceExpression>
- <ClientProperty>
- <name>codeSpace</name>
- <value>'urn:x-test:classifierScheme:TestAuthority:GeologicUnitId'</value>
- </ClientProperty>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>
- gsml:occurrence
- </targetAttribute>
- <sourceExpression>
- <OCQL>URN</OCQL>
- <linkElement>gsml:MappedFeature</linkElement>
- <linkField>gml:name[2]</linkField>
- </sourceExpression>
- <isMultiple>true</isMultiple>
- </AttributeMapping>
- </attributeMappings>
- </FeatureTypeMapping>
- </typeMappings>
- </as:AppSchemaDataAccess>
|