Class OsmNetworkToZoningReaderData


  • public class OsmNetworkToZoningReaderData
    extends Object
    Class that hosts all the data gathered (e.g., references, mappings, etc.) during the parsing of the OSM network that is also of use to the OSM zoning reader. It is used by the intermodal OSM reader to pass this information along in an elegant fashion.
    Author:
    markr
    • Constructor Detail

      • OsmNetworkToZoningReaderData

        protected OsmNetworkToZoningReaderData​(OsmNetworkReaderData networkData,
                                               OsmNetworkReaderSettings networkReaderSettings)
        Constructor
        Parameters:
        networkData - to use
        networkReaderSettings - to use
    • Method Detail

      • getNetworkLayerData

        public OsmNetworkReaderLayerData getNetworkLayerData​(TransportLayer networkLayer)
        Collect layer specific data
        Parameters:
        networkLayer - to collect for
        Returns:
        layer data
      • getOsmNodes

        public Map<Long,​de.topobyte.osm4j.core.model.iface.OsmNode> getOsmNodes()
        Collect OSM nodes
        Returns:
        osm nodes
      • getNetworkBoundingBox

        public org.locationtech.jts.geom.Envelope getNetworkBoundingBox()
        collect the bounding box of the network that is parsed
        Returns:
        network bounding box
      • getNetworkSettings

        public OsmNetworkReaderSettings getNetworkSettings()
        network reader settings as used for populating the planti network absed on osm data
        Returns:
        network reader settings used