The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ReadLandmarksFromOpenXMLFile


Unit:SDL_geomap
Class:TGeoMap 
Declaration:function ReadLandMarksFromOpenXMLFile (var InFile: TextFile; DataID: string): boolean;

The function ReadLandMarksFromOpenXMLFile reads landmarks from the current position of the file InFile. If the parameter DataID is empty, the first <gmlandmarks> tag is evaluated and read into the TGeoMap instance. If DataID is not empty, the entire rest of the open file InFile is read until a <gmlandmarks> tag is found whose attribute "id " matches DataID (the recognition of the "id" attribute is not case-sensitive). The function ReadLandMarksFromOpenXMLFile returns TRUE if a valid starting tag <gmlandmarks> has been found.

Hint 1: For a description of the valid tags, please see WriteLandmarksToOpenXMLFile.



Last Update: 2007-Mai-19