Building Schema from Existing XFM files.

Is it possible to generate the feature definitions from an existing XFM DGN?

 If I import a MapInfo TAB into a DGN, it will generate the XFM attributes.  But can I import these features (either from the DGN or MapInfo TAB file) into the Geospatial Administrator to simplify the generation of the features (and simplify changing products).

 Regards Ian

Parents
  • Hi Ian,

    Great idea.

    The answer is: not automatically, unfortunately.

    This is how you/we could make it work:

    1. Save the GIS import definititions in a impx file;
    2. Define a stylesheet (XSLT) to take the contents of the impx file and create an XFM schema with it;
    3. Transform the impx using the XSLT

    The challenge is that the XML formats for the impx and XFM schema file have not been 'formalized' in a XSD. So it would require some in-depth (reverse) engineering. Maybe a topic for the geospatial desktop community?

    Cheers,

     

    Gijsbert


    This is a test

Reply
  • Hi Ian,

    Great idea.

    The answer is: not automatically, unfortunately.

    This is how you/we could make it work:

    1. Save the GIS import definititions in a impx file;
    2. Define a stylesheet (XSLT) to take the contents of the impx file and create an XFM schema with it;
    3. Transform the impx using the XSLT

    The challenge is that the XML formats for the impx and XFM schema file have not been 'formalized' in a XSD. So it would require some in-depth (reverse) engineering. Maybe a topic for the geospatial desktop community?

    Cheers,

     

    Gijsbert


    This is a test

Children
No Data