1

I use FME to make GML file based on SQLServer data. When I create GML, I cann't see anything in FME Data Inspector or Universal Viewer. Like something is missing in file. I have schema, and XMLValidator validates file against schema, but I still cann't see graphical data.

Link to Result.gml

Link to schema.

Does anyone knows what is the problem and what is missing in schema?

EDIT:

As requested! FME workspace

This is just a part, but main part. All features come into XMLTemplater, like on the picture. Some of them (with non-point geometry) goes first in GeometryExtractor and then into XMLTemplater. These StringReplacers works fine. XMLValidator validates document successfully.

  • Can you provide screenshots of your FME Workbench? – Fezter Aug 4 '14 at 4:12
  • @Fezter Uploaded and explained. – Aleksandar Aug 4 '14 at 7:40
1

The most obvious issue is that the GML file doesn't have a reference to the xsd schema document. Without that FME has no information on how the dataset is structured. Whatever template you are using in the XMLTemplater, you need to include that reference. Then FME will be able to view the data correctly.

  • I use text file as writer, so I don't know where to define schemaLocation in FME. Text file is used because I couldn't manage GML as I wanted. – Aleksandar Aug 6 '14 at 11:39
  • Where is the template coming from in the XMLTemplater? That's where the schema definition should be included. – Mark Ireland Aug 15 '14 at 20:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.