Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I was just editing my geodatabase schema in Microsoft Visio and noticed that it is the new 2007 version, rather than 2003 which had a handy export tool, therefore I downloaded the ESRIExportToXML macro, however when I use it, it comes up with the following error:

Run-time error'-2032465751 (86db08a9)':

The line of code which it breaks on is the following:

Set pAO = Application.Addons.Item("UML Background Add-on")

I have tried to fix the code or find other tools to export it to xml from visio but have virtually given up. Therefore I was wondering if I could do something along the lines of export it to pdf then, using acrobat pro save as an xml (I have tried this but it created an invalid xml file), or convert it in excel? Therefore is there a way round or alternative route for converting an .vsd file to xml file?

Apologies for the lengthy/inarticulate explanation.

Cheers,

Duncan

share|improve this question
    
Just save the schema in the newer VXD format, which is actually XML. –  unicoletti Oct 24 '11 at 8:33
    
is this the visio xml file type, I saved it as this, but then when I choose to import my schema into a geodatabase via an xml workspace document it doesn't include the visio xml file as an option. –  Duncan Oct 24 '11 at 13:02
    
Then you should change the question title to reflect what kind of xml you want. VXD is XML, just not the type you need. –  unicoletti Oct 24 '11 at 13:36
    
changed the title... –  Duncan Oct 25 '11 at 0:27
add comment

1 Answer 1

Building Geodatabases with CASE Tools

For UML/XMI compatibility, Microsoft Visio 2007 Professional can be used as a CASE tool for geodatabase schema design. Microsoft Visio 2007 Service Pack 2 is required to complete the process. For further information, see the article on Can Microsoft Visio 2007 be used as a CASE tool for geodatabase schema design?

When you're finished creating a geodatabase, you'll have generated feature datasets, feature classes, tables, and other items from the design with ArcCatalog.

http://support.esri.com/en/knowledgebase/product-documentation/view/productid/43/metaid/658

share|improve this answer
    
Yeah, I read that, but that annoyingly works on the premise that you download the aforemetioned macro and that it works, which it doesn't in mine, so this is why I have no way to export to xml. –  Duncan Oct 25 '11 at 0:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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