[][src]Function kml::load_csv

pub fn load_csv(
    path: &str,
    gps_bounds: &GPSBounds,
    timer: &mut Timer<'_>
) -> Result<ExtraShapes, Box<dyn Error>>

Parses a .csv file and returns ExtraShapes. Each record must have a column called 'Longitude' and 'Latitude', representing a single point; all other columns will just be attributes. Objects will be clipped to the given gps_bounds.