123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- <?xml version="1.0" encoding="UTF-8"?><ns3:AppSchemaDataAccess xmlns:ns2="http://www.opengis.net/ogc" xmlns:ns3="http://www.geotools.org/app-schema">
- <namespaces>
- <Namespace>
- <prefix>gml</prefix>
- <uri>http://www.opengis.net/gml/3.2</uri>
- </Namespace>
- <Namespace>
- <prefix>st</prefix>
- <uri>http://www.stations.org/1.0</uri>
- </Namespace>
- </namespaces>
- <includedTypes/>
- <targetTypes>
- <FeatureType>
- <schemaUri>./meteo_stations-gml.xsd</schemaUri>
- </FeatureType>
- </targetTypes>
- <typeMappings>
- <FeatureTypeMapping>
- <sourceDataStore>smartappschematest</sourceDataStore>
- <sourceType>meteo_stations</sourceType>
- <targetElement>st:MeteoStationsFeature</targetElement>
- <attributeMappings>
- <AttributeMapping>
- <targetAttribute>st:MeteoStationsFeature</targetAttribute>
- <idExpression>
- <OCQL>strConcat('MeteoStationsFeature.',id)</OCQL>
- </idExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:id</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:code</targetAttribute>
- <sourceExpression>
- <OCQL>code</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:common_name</targetAttribute>
- <sourceExpression>
- <OCQL>common_name</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:position</targetAttribute>
- <sourceExpression>
- <OCQL>position</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>meteoObservations</targetAttribute>
- <sourceExpression>
- <linkField>FEATURE_LINK[1]</linkField>
- <linkElement>st:MeteoObservationsFeature</linkElement>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>meteoStationsMaintainers</targetAttribute>
- <sourceExpression>
- <linkField>FEATURE_LINK[1]</linkField>
- <linkElement>st:MeteoStationsMaintainersFeature</linkElement>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- </attributeMappings>
- </FeatureTypeMapping>
- <FeatureTypeMapping>
- <sourceDataStore>smartappschematest</sourceDataStore>
- <sourceType>meteo_observations</sourceType>
- <targetElement>st:MeteoObservationsFeature</targetElement>
- <attributeMappings>
- <AttributeMapping>
- <targetAttribute>FEATURE_LINK[1]</targetAttribute>
- <sourceExpression>
- <OCQL>station_id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:MeteoObservationsFeature</targetAttribute>
- <idExpression>
- <OCQL>strConcat('MeteoObservationsFeature.',id)</OCQL>
- </idExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:id</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:time</targetAttribute>
- <sourceExpression>
- <OCQL>time</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:value</targetAttribute>
- <sourceExpression>
- <OCQL>value</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>meteoParameters</targetAttribute>
- <sourceExpression>
- <linkField>FEATURE_LINK[1]</linkField>
- <linkElement>st:MeteoParametersFeature</linkElement>
- <OCQL>parameter_id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- </attributeMappings>
- </FeatureTypeMapping>
- <FeatureTypeMapping>
- <sourceDataStore>smartappschematest</sourceDataStore>
- <sourceType>meteo_parameters</sourceType>
- <targetElement>st:MeteoParametersFeature</targetElement>
- <attributeMappings>
- <AttributeMapping>
- <targetAttribute>FEATURE_LINK[1]</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:MeteoParametersFeature</targetAttribute>
- <idExpression>
- <OCQL>strConcat('MeteoParametersFeature.',id)</OCQL>
- </idExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:id</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:param_name</targetAttribute>
- <sourceExpression>
- <OCQL>param_name</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:param_unit</targetAttribute>
- <sourceExpression>
- <OCQL>param_unit</OCQL>
- </sourceExpression>
- </AttributeMapping>
- </attributeMappings>
- </FeatureTypeMapping>
- <FeatureTypeMapping>
- <sourceDataStore>smartappschematest</sourceDataStore>
- <sourceType>meteo_stations_maintainers</sourceType>
- <targetElement>st:MeteoStationsMaintainersFeature</targetElement>
- <attributeMappings>
- <AttributeMapping>
- <targetAttribute>FEATURE_LINK[1]</targetAttribute>
- <sourceExpression>
- <OCQL>station_id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:MeteoStationsMaintainersFeature</targetAttribute>
- <idExpression>
- <OCQL>strConcat('MeteoStationsMaintainersFeature.',id)</OCQL>
- </idExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:id</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>meteoMaintainers</targetAttribute>
- <sourceExpression>
- <linkField>FEATURE_LINK[1]</linkField>
- <linkElement>st:MeteoMaintainersFeature</linkElement>
- <OCQL>manteiner_id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- </attributeMappings>
- </FeatureTypeMapping>
- <FeatureTypeMapping>
- <sourceDataStore>smartappschematest</sourceDataStore>
- <sourceType>meteo_maintainers</sourceType>
- <targetElement>st:MeteoMaintainersFeature</targetElement>
- <attributeMappings>
- <AttributeMapping>
- <targetAttribute>FEATURE_LINK[1]</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:MeteoMaintainersFeature</targetAttribute>
- <idExpression>
- <OCQL>strConcat('MeteoMaintainersFeature.',id)</OCQL>
- </idExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:id</targetAttribute>
- <sourceExpression>
- <OCQL>id</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:name</targetAttribute>
- <sourceExpression>
- <OCQL>name</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:surname</targetAttribute>
- <sourceExpression>
- <OCQL>surname</OCQL>
- </sourceExpression>
- </AttributeMapping>
- <AttributeMapping>
- <targetAttribute>st:company</targetAttribute>
- <sourceExpression>
- <OCQL>company</OCQL>
- </sourceExpression>
- </AttributeMapping>
- </attributeMappings>
- </FeatureTypeMapping>
- </typeMappings>
- <sourceDataStores>
- <DataStore>
- <id>smartappschematest</id>
- <parameters>
- <Parameter>
- <name>schema</name>
- <value>smartappschematest</value>
- </Parameter>
- <Parameter>
- <name>database</name>
- <value>mock?sslmode=DISABLE&binaryTransferEnable=bytea</value>
- </Parameter>
- <Parameter>
- <name>port</name>
- <value>5432</value>
- </Parameter>
- <Parameter>
- <name>passwd</name>
- <value>postgres</value>
- </Parameter>
- <Parameter>
- <name>Expose primary keys</name>
- <value>true</value>
- </Parameter>
- <Parameter>
- <name>dbtype</name>
- <value>postgis</value>
- </Parameter>
- <Parameter>
- <name>host</name>
- <value>localhost</value>
- </Parameter>
- <Parameter>
- <name>user</name>
- <value>postgres</value>
- </Parameter>
- </parameters>
- </DataStore>
- </sourceDataStores>
- </ns3:AppSchemaDataAccess>
|