Class OpenStreetMap

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants, UNITS

    public class OpenStreetMap
    extends OTSSimulationApplication<org.opentrafficsim.demo.carFollowing.OSMModel>
    implements UNITS

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2020-05-08 11:08:12 +0200 (Fri, 08 May 2020) $, @version $Revision: 6464 $, by $Author: pknoppers $, initial version Feb 10, 2015

    Author:
    Peter Knoppers, Moritz Bergmann
    See Also:
    Serialized Form
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Main program.
        Parameters:
        args - String[]; the command line arguments (not used)
      • demo

        public static void demo​(boolean exitOnClose)
        Start the demo.
        Parameters:
        exitOnClose - boolean; when running stand-alone: true; when running as part of a demo: false
      • chooseFile

        protected static final java.lang.String chooseFile()
        choose a file and construct the model.
        Returns:
        a model based on a given file