I am working on AIXM 5.1 task. the task is to convert and map a GIS data to AIXM format for eToD.I have mapped the feature but I have an issue with message metadata and feature metadata like EX_Extent,nameofmeasure and dataStamp .Any idea how to map it .
Writing feature metadata is similar to writing XML fragments to other xml_xml fields such as annotations, as described in a previous post: https://knowledge.safe.com/questions/2949/aixm-annotations.html
I'm not sure what feature type you need to write metadata to, but the principle should be the same regardless. For example, AirportHeliport has a metadata field called featureMetadata of type xml_xml. You can either merge in metadata from an external document or create it with an XMLTemplater, and then assign it to the featureMetadata field. An example of how to generate metadata records can be seen here: https://knowledge.safe.com/articles/1186/harvesting-and-writing-iso19115-xml-metadata.html
Note that just as with annotations, your metadata needs to be a valid XML document, so it needs to include a namespace header. Unlike annotations, featureMetadata here is not a series element, so it doesn't need to have a list structure. This process can be a bit tricky to figure out if you haven't worked with XML that much before, so you can always review articles on writing AIXM and the XML Tutorial. If you still have trouble please contact support@safe.com for help with your particular workflow.
Writing feature metadata is similar to writing XML fragments to other xml_xml fields such as annotations, as described in a previous post: https://knowledge.safe.com/questions/2949/aixm-annotations.html
I'm not sure what feature type you need to write metadata to, but the principle should be the same regardless. For example, AirportHeliport has a metadata field called featureMetadata of type xml_xml. You can either merge in metadata from an external document or create it with an XMLTemplater, and then assign it to the featureMetadata field. An example of how to generate metadata records can be seen here: https://knowledge.safe.com/articles/1186/harvesting-and-writing-iso19115-xml-metadata.html
Note that just as with annotations, your metadata needs to be a valid XML document, so it needs to include a namespace header. Unlike annotations, featureMetadata here is not a series element, so it doesn't need to have a list structure. This process can be a bit tricky to figure out if you haven't worked with XML that much before, so you can always review articles on writing AIXM and the XML Tutorial. If you still have trouble please contact support@safe.com for help with your particular workflow.
Thank you. I am trying to add the ex_extent and Data quality like nameofmeasure metadate to <aixm-5.1:messageMetadat> that why I suggest message metadata.Could you help me how to do it using AIXM 5.1 writer?shall I use the above way? @DeanAtSafe