2.2.1. Assembly: CasaSoft.KmlLib.Base¶
2.2.1.1. Type: CasaSoft.vrt.KmlLib.Converter¶
Generic placemark converter to another format
2.2.1.1.1. Field: CasaSoft.vrt.KmlLib.Converter.kml¶
Instance of Type: CasaSoft.vrt.KmlLib.KmlLib with data to convert
2.2.1.1.2. Method: CasaSoft.vrt.KmlLib.Converter.SetKml(System.String)¶
Build class by kml/kml file name
Parameter filename:
2.2.1.1.3. Method: CasaSoft.vrt.KmlLib.Converter.SetKml(CasaSoft.vrt.KmlLib.KmlLib)¶
Build class by instance of Type: CasaSoft.vrt.KmlLib.KmlLib
Parameter kmlLib:
2.2.1.1.6. Method: CasaSoft.vrt.KmlLib.Converter.PlacemarkBody(CasaSoft.vrt.KmlLib.IPlacemark,System.String)¶
Converts the specified placemark to text using the given title
Parameter pm: Type: CasaSoft.vrt.KmlLib.Placemark to convert
Parameter text: Title to use
Returns:
2.2.1.1.7. Method: CasaSoft.vrt.KmlLib.Converter.PlacemarkBody(CasaSoft.vrt.KmlLib.IPlacemark)¶
Converts the specified placemark to text
Parameter pm: Type: CasaSoft.vrt.KmlLib.Placemark to convert
Returns:
2.2.1.1.8. Method: CasaSoft.vrt.KmlLib.Converter.PlacemarkBody(System.Collections.Generic.List{CasaSoft.vrt.KmlLib.IKmlItem})¶
Decodes all the placemarks in the given list
Parameter list: List of placemarks to decode
Returns:
2.2.1.1.9. Method: CasaSoft.vrt.KmlLib.Converter.PlacemarkBody(System.Collections.Generic.List{CasaSoft.vrt.KmlLib.IKmlItem},System.String)¶
Decodes all the placemarks in the given list using the title
Parameter list: List of placemarks to decode
Parameter text: title to use
Returns:
2.2.1.1.10. Method: CasaSoft.vrt.KmlLib.Converter.PlacemarkBody¶
Decodes all placemarks to text
Returns:
2.2.1.1.11. Method: CasaSoft.vrt.KmlLib.Converter.MultiPointBody(CasaSoft.vrt.KmlLib.IMultiPoint)¶
Decodes a multi-point item (Type: CasaSoft.vrt.KmlLib.Path or Type: CasaSoft.vrt.KmlLib.Polygon) to text
Parameter mp: multipoint (Type: CasaSoft.vrt.KmlLib.Path or Type: CasaSoft.vrt.KmlLib.Polygon) to decode
Returns:
2.2.1.1.12. Method: CasaSoft.vrt.KmlLib.Converter.MultiPointBody(System.Collections.Generic.List{CasaSoft.vrt.KmlLib.IKmlItem})¶
Decodes a list of multi-point items (Type: CasaSoft.vrt.KmlLib.Path or Type: CasaSoft.vrt.KmlLib.Polygon) to text
Parameter list: multipoint items list (Type: CasaSoft.vrt.KmlLib.Path or Type: CasaSoft.vrt.KmlLib.Polygon) to decode
Returns:
2.2.1.1.15. Method: CasaSoft.vrt.KmlLib.Converter.FileOut(System.String,System.String)¶
Prints data to output file
Parameter content: Data to include in file
Parameter outputfile: Filename for output. If null or empty outs on stdout
2.2.1.1.16. Method: CasaSoft.vrt.KmlLib.Converter.FileOut(System.String)¶
Prints data to the console
Parameter content: Data to include in output
2.2.1.1.17. Method: CasaSoft.vrt.KmlLib.Converter.StreamWrite(System.String,System.String)¶
Prints data to output file
Parameter content: Data to include in file
Parameter outputfile: Filename for output.
2.2.1.2. Type: CasaSoft.vrt.KmlLib.ConverterFactory¶
Creates classes for kml converters
2.2.1.2.1. Method: CasaSoft.vrt.KmlLib.ConverterFactory.GetConverter¶
Returns the text converter
Returns: Instance of Type: CasaSoft.vrt.KmlLib.Converter class
2.2.1.3. Type: CasaSoft.vrt.KmlLib.IConverter¶
Common interface for placemarks conversions
2.2.1.3.2. Method: CasaSoft.vrt.KmlLib.IConverter.FileHeader¶
Returns the file header string
Returns:
2.2.1.3.3. Method: CasaSoft.vrt.KmlLib.IConverter.MultiPointBody(CasaSoft.vrt.KmlLib.IMultiPoint)¶
Returns converted data from a path or polygon
Parameter mp: Type: CasaSoft.vrt.KmlLib.IMultiPoint to convert
Returns:
2.2.1.3.4. Method: CasaSoft.vrt.KmlLib.IConverter.MultiPointBody(System.Collections.Generic.List{CasaSoft.vrt.KmlLib.IKmlItem})¶
Returns converted data from a list of paths or polygons
Parameter list: List of Type: CasaSoft.vrt.KmlLib.IKmlItem to convert
Returns:
2.2.1.3.5. Method: CasaSoft.vrt.KmlLib.IConverter.PathBody¶
Returns converted data of all paths
Returns:
2.2.1.3.6. Method: CasaSoft.vrt.KmlLib.IConverter.PlacemarkBody¶
Returns converted data of all placemarks
Returns:
2.2.1.3.7. Method: CasaSoft.vrt.KmlLib.IConverter.PlacemarkBody(CasaSoft.vrt.KmlLib.IPlacemark)¶
Return converted data of a placemark
Parameter pm: Type: CasaSoft.vrt.KmlLib.IPlacemark to convert
Returns:
2.2.1.3.8. Method: CasaSoft.vrt.KmlLib.IConverter.PolyBody¶
Returns converted data of all polygons
Returns:
2.2.1.3.9. Method: CasaSoft.vrt.KmlLib.IConverter.SetKml(CasaSoft.vrt.KmlLib.KmlLib)¶
Sets the data to convert from an instance of Type: CasaSoft.vrt.KmlLib.KmlLib
Parameter kmlLib:
2.2.1.3.10. Method: CasaSoft.vrt.KmlLib.IConverter.SetKml(System.String)¶
Sets the data to convert from a .kml/.kmz file
Parameter filename: name of the file with data to convert
2.2.1.3.11. Method: CasaSoft.vrt.KmlLib.IConverter.FileOut(System.String,System.String)¶
Writes data to a file
Parameter content: data to write
Parameter outputfile: output file name
2.2.1.3.12. Method: CasaSoft.vrt.KmlLib.IConverter.FileOut(System.String)¶
writes data to standard output
Parameter content: data to write
2.2.1.4. Type: CasaSoft.vrt.KmlLib.IKmlItem¶
Root interface for kml items
2.2.1.4.1. Property: CasaSoft.vrt.KmlLib.IKmlItem.Name¶
Name of the placemark
2.2.1.5. Type: CasaSoft.vrt.KmlLib.IMultiPoint¶
Inteface for multi-point elements like paths and polygons
2.2.1.5.1. Property: CasaSoft.vrt.KmlLib.IMultiPoint.Nodes¶
List of nodes
2.2.1.5.2. Method: CasaSoft.vrt.KmlLib.IMultiPoint.SetData(System.Xml.XmlNode,System.Xml.XmlNamespaceManager,System.String)¶
Set data from XML fragment and list of coordinates
Parameter pmdata: Placemark XML fragment
Parameter ns: XML namespace
Parameter coords: String with coordinate list
2.2.1.6. Type: CasaSoft.vrt.KmlLib.IPlacemark¶
Placemark interface inherited form Type: CasaSoft.vrt.KmlLib.IKmlItem
2.2.1.6.1. Property: CasaSoft.vrt.KmlLib.IPlacemark.Lat¶
Latitude
2.2.1.6.2. Property: CasaSoft.vrt.KmlLib.IPlacemark.Lon¶
Longitude
2.2.1.6.3. Property: CasaSoft.vrt.KmlLib.IPlacemark.Height¶
Height
2.2.1.6.4. Method: CasaSoft.vrt.KmlLib.IPlacemark.SetData(System.Xml.XmlNode,System.Xml.XmlNamespaceManager)¶
Set data from XML fragment
Parameter pmdata: Placemark XML fragment
Parameter ns: XML namespace
2.2.1.6.5. Method: CasaSoft.vrt.KmlLib.IPlacemark.SetCoord(System.String)¶
Set coords data from a triple lon,lat,height
Parameter triple: string containing lon,lat,height
2.2.1.7. Type: CasaSoft.vrt.KmlLib.KmlLib¶
Base class to handle .kml/.kmz files from Google Earth
2.2.1.7.1. Property: CasaSoft.vrt.KmlLib.KmlLib.PmList¶
List of single placemarks
2.2.1.7.2. Property: CasaSoft.vrt.KmlLib.KmlLib.PathList¶
List of path placemarks
2.2.1.7.3. Property: CasaSoft.vrt.KmlLib.KmlLib.PolyList¶
List of polygon placemarks
2.2.1.7.4. Method: CasaSoft.vrt.KmlLib.KmlLib.#ctor(System.String)¶
Constructor
Parameter Filename: .kml or .kmz file
2.2.1.7.5. Method: CasaSoft.vrt.KmlLib.KmlLib.CountPlacemarks¶
Returns number of placemarks in file
Returns:
2.2.1.7.7. Method: CasaSoft.vrt.KmlLib.KmlLib.CountPolys¶
Returns number of polygons in file
Returns:
2.2.1.7.8. Method: CasaSoft.vrt.KmlLib.KmlLib.ItemsNames(System.Collections.Generic.List{CasaSoft.vrt.KmlLib.IKmlItem})¶
Lists all names of the given list in object array useful for comboboxes
Parameter list:
Returns:
2.2.1.7.9. Method: CasaSoft.vrt.KmlLib.KmlLib.PlacemarksNames¶
Lists all names of placemarks in object array useful for comboboxes
Returns:
2.2.1.7.10. Method: CasaSoft.vrt.KmlLib.KmlLib.PathsNames¶
Lists all names of paths in object array useful for comboboxes
Returns:
2.2.1.7.11. Method: CasaSoft.vrt.KmlLib.KmlLib.PolysNames¶
Lists all names of polygons in object array useful for comboboxes
Returns:
2.2.1.7.12. Method: CasaSoft.vrt.KmlLib.KmlLib.GetItemByName(System.String,System.Collections.Generic.List{CasaSoft.vrt.KmlLib.IKmlItem})¶
Return placemark by its name
Parameter name: name of the placemark
Parameter list: list of placemarks where to search
Returns: `Type: CasaSoft.vrt.placemark`_ object or null if none found
2.2.1.7.13. Method: CasaSoft.vrt.KmlLib.KmlLib.GetPlacemarkByName(System.String)¶
Return placemark by its name
Parameter name: name of the placemark
Returns: `Type: CasaSoft.vrt.placemark`_ object or null if none found
2.2.1.7.14. Method: CasaSoft.vrt.KmlLib.KmlLib.GetPathByName(System.String)¶
Return path by its name
Parameter name: name of the path
Returns: `Type: CasaSoft.vrt.path`_ object or null if none found
2.2.1.7.15. Method: CasaSoft.vrt.KmlLib.KmlLib.GetPolyByName(System.String)¶
Return polygon by its name
Parameter name: name of the polygon
Returns: `Type: CasaSoft.vrt.poly`_ object or null if none found
2.2.1.8. Type: CasaSoft.vrt.KmlLib.MultiPoint¶
Implements the Type: CasaSoft.vrt.KmlLib.IMultiPoint interface
2.2.1.8.1. Property: CasaSoft.vrt.KmlLib.MultiPoint.Name¶
name of the multipoint placemark
2.2.1.8.2. Property: CasaSoft.vrt.KmlLib.MultiPoint.Nodes¶
List of Type: CasaSoft.vrt.KmlLib.IKmlItem to contains the coords of the points
2.2.1.8.3. Method: CasaSoft.vrt.KmlLib.MultiPoint.SetData(System.Xml.XmlNode,System.Xml.XmlNamespaceManager,System.String)¶
Set data from XML fragment and list of coordinates
Parameter pmdata: Placemark XML fragment
Parameter ns: XML namespace
Parameter coords: String with coordinate list
> This method is only used as base for inhertance
2.2.1.9. Type: CasaSoft.vrt.KmlLib.Path¶
Implements a Type: CasaSoft.vrt.KmlLib.MultiPoint to contain Path data
2.2.1.9.1. Method: CasaSoft.vrt.KmlLib.Path.SetData(System.Xml.XmlNode,System.Xml.XmlNamespaceManager)¶
Set data from XML fragment
Parameter pmdata: Placemark XML fragment
Parameter ns: XML namespace
2.2.1.10. Type: CasaSoft.vrt.KmlLib.Placemark¶
Implements the Type: CasaSoft.vrt.KmlLib.IPlacemark interface
2.2.1.10.1. Property: CasaSoft.vrt.KmlLib.Placemark.Name¶
Name of the placemark
2.2.1.10.2. Property: CasaSoft.vrt.KmlLib.Placemark.Lat¶
Latitude
2.2.1.10.3. Property: CasaSoft.vrt.KmlLib.Placemark.Lon¶
Longitude
2.2.1.10.4. Property: CasaSoft.vrt.KmlLib.Placemark.Height¶
Height
2.2.1.10.5. Method: CasaSoft.vrt.KmlLib.Placemark.SetCoord(System.String)¶
Set coords data from a triple lon,lat,height
Parameter triple:
2.2.1.10.6. Method: CasaSoft.vrt.KmlLib.Placemark.SetData(System.Xml.XmlNode,System.Xml.XmlNamespaceManager)¶
Set data from XML fragment
Parameter pmdata: Placemark XML fragment
Parameter ns: XML namespace
2.2.1.11. Type: CasaSoft.vrt.KmlLib.Polygon¶
Implements a Type: CasaSoft.vrt.KmlLib.MultiPoint to contain Polygon data
2.2.1.11.1. Method: CasaSoft.vrt.KmlLib.Polygon.SetData(System.Xml.XmlNode,System.Xml.XmlNamespaceManager)¶
Set data from XML fragment
Parameter pmdata: Placemark XML fragment
Parameter ns: XML namespace