public static GraphHopperStorage newStorage ( GraphHopperStorage store ) { Directory outdir = guessDirectory ( store ) ; boolean is3D = store . getNodeAccess ( ) . is3D ( ) ; return new GraphHopperStorage ( store . getNodeBasedCHWeightings ( ) , store . getEdgeBasedCHWeightings ( ) , outdir , store . getEncodingManager ( ) , is3D , store . getExtension ( ) ) . create ( store . getNodes ( ) ) ; }
Create a new storage from the specified one without copying the data .