All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.graphhopper.routing.ev.HazmatTunnel Maven / Gradle / Ivy

Go to download

GraphHopper is a fast and memory efficient Java road routing engine working seamlessly with OpenStreetMap data.

There is a newer version: 10.0
Show newest version
package com.graphhopper.routing.ev;

/**
 * Defines the degree of restriction for the transport of hazardous goods through tunnels.
* If not tagged it will be {@link #A} * * @see Hazmat Tunnel restrictions */ public enum HazmatTunnel { /** * driving with any dangerous goods allowed */ A, /** * no goods with very large explosion range */ B, /** * no goods with large explosion or poisoning range */ C, /** * no goods which threaten a large explosion, poisoning or fire */ D, /** * forbids all dangerous goods except: UN 2919,3291, 3331, 3359, 3373 */ E; public static final String KEY = "hazmat_tunnel"; public static EnumEncodedValue create() { return new EnumEncodedValue<>(KEY, HazmatTunnel.class); } // for backward compatibility: no custom toString() }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy