Here an example of a mdf, a mdf is a xml file you can check the dtd in mxjdtds.jar(MI_XML_Protocol_MapPersistence_4_0.dtd) (if you using map4.5)
With the DTDs you can get all necessary info on how mdf is constructed. <?xml version="1.0" encoding="WINDOWS-1252"?> <!DOCTYPE MapDefinition SYSTEM "MI_XML_Protocol_MapPersistence_4_0.dtd"><MapDefinition MI_XMLProtocolVersion="MI_XML_Protocol_MapPersistence_4_0"><MapBounds><Box srsName="mapinfo:mapbasic:12, 62, 7, 0"><coord><X>-1.7043704207278237E7</X><Y>-147481.3400000017</Y></coord><coord><X>1.7099255818864234E7</X><Y>-147481.3400000017</Y></coord></Box></MapBounds><MapUnits><LinearUnit><NameSet><name>mile</name><abbreviation>mi</abbreviation></NameSet><metersPerUnit>1609.344</metersPerUnit></LinearUnit></MapUnits><NumericCoordSys><CoordinateReferenceSystem><Identifier><code>1, 104</code><codeSpace>MapInfo</codeSpace></Identifier></CoordinateReferenceSystem></NumericCoordSys><DisplayCoordSys><CoordinateReferenceSystem><Identifier><code>12, 62, 7, 0</code><codeSpace>MapInfo</codeSpace></Identifier></CoordinateReferenceSystem></DisplayCoordSys><MapDefinitionLayerList></MapDefinitionLayerList></MapDefinition> -----Message d'origine----- De : Gilbert, Antoine Envoyé : 24 octobre, 2002 14:05 À : Lars Nielsen; Verwohlt, Monika; [EMAIL PROTECTED] Objet : RE: MI-L MapXtreme Java MDF syntax description mdf file is not a XML one ? -----Message d'origine----- De : Lars Nielsen [mailto:lars.nielsen@;get2net.dk] Envoyé : 24 octobre, 2002 13:51 À : Verwohlt, Monika; [EMAIL PROTECTED] Objet : Re: MI-L MapXtreme Java MDF syntax description Hi Monika, The MDF file format is binary. I haven't seen any description of it. Best regards / Med venlig hilsen Lars V. Nielsen Odense, Denmark ----- Original Message ----- From: "Verwohlt, Monika" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 3:49 PM Subject: MI-L MapXtreme Java MDF syntax description Hi List-Members, I am looking for a syntax-description for Map Definiton Files (*.mdf). I want to generate map definiton files by our own application based on MapBasic (that contains some features of the Map Definiton Manager) and load these files by a MapXtreme Java application. So we need a file format description of MDF, but we didn't find anything about it in the documentation. Does anyone know, if a format description is available ?? Thanks in advance, Monika Monika Verwohlt Phone: +49-231-9792-215 oder 0 PRO DV Software AG FAX: +49-231-9792-200 Hauert 6 mailto:Monika.Verwohlt@;prodv.de 44227 Dortmund http://www.prodv.de --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3764 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3774 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3775 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 3780