Question: Language: JAVA KML File Objectives: Practice file 1/O and modular design with static methods You are asked to convert longitude and latitude data stored in
Language: JAVA



KML File Objectives: Practice file 1/O and modular design with static methods You are asked to convert longitude and latitude data stored in a simple text file to another file in KML (Keyhole Markup Language) format. KML is a file format used in Google Earth and Google Maps to record geometric annotation and visualization information. A complete in- formation on KML can be found at http://earth.google.com/kml An input file is a text file that contains a sequence of longitude and latitude data in the following format 121.87 36.61 3.02 16.77 34.75 39.76 Longitude and latitude data are separated by a blank space. The output file is also a text file with information saved in KML format. Here's an example:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
