Package org.netxms.base
Class KMLParser
java.lang.Object
org.netxms.base.KMLParser
KML file format parser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,List<GeoLocation>> importPolygons(File file) KML polygon parserstatic Map<String,List<GeoLocation>> importPolygons(String content) KML polygon parser
-
Constructor Details
-
KMLParser
public KMLParser()
-
-
Method Details
-
importPolygons
KML polygon parser- Parameters:
file- path to the file with KML definition- Returns:
- map with polygon name and polygon coordinates
-
importPolygons
KML polygon parser- Parameters:
content- KML content- Returns:
- map with polygon name and polygon coordinates
-